SetGrid#
Set size of the grid cells. All objects are placed in the grid.
Child elements#
(none)
Parent elements#
Attributes#
dx
(optional)- Gap between two grid cells (horizontal)
dy
(optional)- Gap between two grid cells (horizontal)
height
(length, optional)- The height of a grid cell. Use either height or ny, but not both.
nx
(number, optional)- Specify the number of grid cells in horizontal direction. Use either nx or width, not both.
ny
(number, optional)- Set the number of grid cells in vertical direction. Give ny or height, but not both.
width
(length, optional)- The width of a grid cell. Use either width or nx, not both.