HexagonGrid

fun HexagonGrid(    posX: Number = 0,     posY: Number = 0,     width: Number = 0,     height: Number = 0,     visual: Visual = Visual.EMPTY,     coordinateSystem: HexagonGrid.CoordinateSystem = CoordinateSystem.OFFSET,     orientation: HexOrientation = HexOrientation.POINTY_TOP)

Parameters

posX

The x-coordinate of the hexagon grid's position on the screen. Default is 0.

posY

The y-coordinate of the hexagon grid's position on the screen. Default is 0.

width

The width of the hexagon grid. It grows dynamically by the amount hexagons in it.

height

The height of the hexagon grid. It grows dynamically by the amount hexagons in it.

visual

The visual representation of the hexagon grid. Default is an empty visual.

coordinateSystem

The coordinate system to use for the grid. Default is CoordinateSystem.OFFSET.

orientation

The orientation of the hexagons in the grid. Default is HexOrientation.POINTY_TOP.