Table of Contents

Method FlatRectangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

FlatRectangle(GridPoint2)

Returns a new rectangle suitable for a flat hex grid.

public static IExplicitShape<GridPoint2> FlatRectangle(GridPoint2 size)

Parameters

size GridPoint2

Returns

IExplicitShape<GridPoint2>