Start » Filter Reference » Region » Region Spatial Transforms » TranslateRegion
Module: | FoundationLite |
---|
Translates a region by a given number of pixels along each axis.
Name | Type | Range | Description | |
---|---|---|---|---|
inRegion | Region | Input region | ||
inDeltaX | Integer | Horizontal shift | ||
inDeltaY | Integer | Vertical shift | ||
inInverse | Bool | Negates the delta values | ||
inFrameWidth | Integer* | 0 - 65535 | Output region frame width | |
inFrameHeight | Integer* | 0 - 65535 | Output region frame height | |
outRegion | Region | Output region |
Examples
Description of usage of this filter can be found in examples and tutorial: Brick destroy (Game).
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input and output regions are not distinct in TranslateRegion. |
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- RotateRegion – Rotates a region around a specified point.