Table of Contents

Method Translate

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Translate(GridPoint2)

Translates the shape by a specified offset.

public ExplicitShape.ExplicitShape2 Translate(GridPoint2 offset)

Parameters

offset GridPoint2

The GridPoint2 value by which the shape should be translated.

Returns

ExplicitShape.ExplicitShape2

A new ExplicitShape2 instance that is a translated version of the current shape.