You are here: Start » AVL.NET » Invoke.TranslateRectangle

Invoke.TranslateRectangle

Translates a rectangle by a vector.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void TranslateRectangle
(
	Avl.Rectangle2D inRectangle,
	Avl.Vector2D inDelta,
	bool inInverse,
	out Avl.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvl.Rectangle2D
inDeltaAvl.Vector2DTranslation vector.
inInverseboolSwitches to the inverse operation.
outRectangleAvl.Rectangle2D

See also