You are here: Start » AVL.NET » AVL.TranslateBox(AvlNet.Box, int, int, bool, AvlNet.Box)

AVL.TranslateBox(AvlNet.Box, int, int, bool, AvlNet.Box)

Shifts a box by a discreet vector.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void TranslateBox(
	AvlNet.Box inBox,
	int inDeltaX,
	int inDeltaY,
	bool inInverse,
	out AvlNet.Box outBox
)

Parameters

inBox
Type: AvlNet.Box
Input box
inDeltaX
Type: System.Int32
Shift along the x axis
inDeltaY
Type: System.Int32
Shift along the y axis
inInverse
Type: System.Boolean
Switches to inverse operation
outBox
Type: AvlNet.Box
Shifted box

See also