Grid Pane
fun GridPane( posX: Number = 0, posY: Number = 0, columns: Int, rows: Int, spacing: Number = DEFAULT_GRID_SPACING, layoutFromCenter: Boolean = true, visual: Visual = Visual.EMPTY)
Content copied to clipboard
Creates a GridPane with given rows and columns.
Parameters
T
Generic ComponentView.
pos X
Horizontal coordinate for this GridPane. Default: 0.
pos Y
Vertical coordinate for this GridPane. Default: 0.
columns
Initial column count.
rows
Initial row count.
spacing
Spacing between rows and columns. Default: DEFAULT_GRID_SPACING.
layout From Center
Whether the GridPane should anchor in the center (true
) or top-Left (false
). Default: true
.
visual
Initial visual for this GridPane. Default: Visual.EMPTY.