You are here: Start » AVL.NET » AVL.TranslateLocation(AvlNet.Location, int, int, bool, AvlNet.Location)
AVL.TranslateLocation(AvlNet.Location, int, int, bool, AvlNet.Location)
Shifts a Location by given number of pixels along each axis
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void TranslateLocation( AvlNet.Location inLocation, int inDeltaX, int inDeltaY, bool inInverse, out AvlNet.Location outLocation )
Parameters
- inLocation
- Type: AvlNet.Location
Input location - 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 - outLocation
- Type: AvlNet.Location
Shifted location
