You are here: Start » AVL.NET » Function Reference » Basic » Location » AVL.TranslateLocation

AVL.TranslateLocation

Shifts a Location by a given number of pixels along each axis.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TranslateLocation
(
	AvlNet.Location inLocation,
	int inDeltaX,
	int inDeltaY,
	bool inInverse,
	out AvlNet.Location outLocation
)

Parameters

Name Type Range Default Description
inLocationAvlNet.LocationInput location.
inDeltaXintShift along the x axis.
inDeltaYintShift along the y axis.
inInverseboolSwitches to inverse operation.
outLocationAvlNet.LocationShifted location.

See also