HexagonView

fun HexagonView(    posX: Number = 0,     posY: Number = 0,     size: Number = DEFAULT_HEXAGON_SIZE,     visual: Visual,     orientation: HexOrientation = HexOrientation.POINTY_TOP)

Creates a HexagonView with a given Visual.

Parameters

posX

Horizontal coordinate for this HexagonView. Default: 0.

posY

Vertical coordinate for this HexagonView. Default: 0.

size

Represents the radius of the outer circle of the HexagonView all six points lie on. Default: DEFAULT_HEXAGON_SIZE.

visual

Visual for this HexagonView.

orientation

Orientation of the HexagonView. Default: HexOrientation.POINTY_TOP.