You are here: Start » AVL.NET » AVS.TranslateRectangle Method

AVS.TranslateRectangle Method

Translates a rectangle by a vector.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void TranslateRectangle
(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.Vector2D inDelta,
	bool inInverse,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inDeltaAvlNet.Vector2DTranslation vector.
inInverseboolSwitches to the inverse operation.
outRectangleAvlNet.Rectangle2D

See also