TranslateRegion
Translates a region by a given number of pixels along each axis.
Syntax
C++
Python
def TranslateRegion( inRegion: Region, inDeltaX: int, inDeltaY: int, outRegion: Region, /, *, inInverse: bool = False, inFrameWidth: int | None = None, inFrameHeight: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inDeltaX | int | Horizontal shift | ||
![]() |
inDeltaY | int | Vertical shift | ||
![]() |
inInverse | bool | False | Negates the delta values | |
![]() |
inFrameWidth | int | None | 0 - 65535 | None | Output region frame width |
![]() |
inFrameHeight | int | None | 0 - 65535 | None | Output region frame height |
![]() |
outRegion | Region | Output region |


