Table of Contents

Method PointyHexFatRectangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

PointyHexFatRectangle(GridPoint2)

Creates a fat rectangle shape suitable for a pointy hex grid.

[Version(2, 3, 8)]
public static IImplicitShape<GridPoint2> PointyHexFatRectangle(GridPoint2 dimensions)

Parameters

dimensions GridPoint2

The width and height of the rectangle.

Returns

IImplicitShape<GridPoint2>

Remarks

Each second row has one more cell than the given width, making the rectangle "fat", but more symmetrical than an ordinary rectangle.