Table of Contents

Method SwapXY

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

SwapXY(IImplicitShape<GridPoint2>)

Creates a new shape with the same points as the given shape with X and Y swapped.

public static IImplicitShape<GridPoint2> SwapXY(this IImplicitShape<GridPoint2> shape)

Parameters

shape IImplicitShape<GridPoint2>

Returns

IImplicitShape<GridPoint2>