Table of Contents

Method FlatHexRectangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

FlatHexRectangle(GridPoint2)

Creates a rectangle shape suitable for a flat hex grid.

[Version(2, 2, 0)]
public static IImplicitShape<GridPoint2> FlatHexRectangle(GridPoint2 dimensions)

Parameters

dimensions GridPoint2

The width and height of the rectangle.

Returns

IImplicitShape<GridPoint2>

Remarks

Each column has the same number of cells.