TranslateLocation
Shifts a Location by a given number of pixels along each axis.
Syntax
C++
Python
def TranslateLocation( inLocation: Location, inDeltaX: int, inDeltaY: int, /, *, inInverse: bool = False ) -> outLocation: Location
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inLocation | Location | Input location | |
![]() |
inDeltaX | int | Shift along the x axis | |
![]() |
inDeltaY | int | Shift along the y axis | |
![]() |
inInverse | bool | False | Switches to inverse operation |
![]() |
outLocation | Location | Shifted location |


