Table of Contents

Method FlatHexThinRectangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

FlatHexThinRectangle(GridPoint2)

Creates a thin rectangle shape suitable for a flat hex grid.

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

Parameters

dimensions GridPoint2

The width and height of the rectangle.

Returns

IImplicitShape<GridPoint2>

Remarks

Each second column has one less cell than the given height, making the rectangle "thin", but more symmetrical than an ordinary rectangle.