You are here: Start » AVL.NET » Invoke.TranslateRegion
Translates a region by a given number of pixels along each axis.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void TranslateRegion ( Avl.Region inRegion, int inDeltaX, int inDeltaY, bool inInverse, Optional<int> inFrameWidth, Optional<int> inFrameHeight, Avl.Region outRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRegion | Avl.Region | Input region. | ||
![]()  | inDeltaX | int | Horizontal shift. | ||
![]()  | inDeltaY | int | Vertical shift. | ||
![]()  | inInverse | bool | Negates the delta values. | ||
![]()  | inFrameWidth | Atl.Optional<int> | <0, 65535> | Output region frame width. Default value: atl::NIL. | |
![]()  | inFrameHeight | Atl.Optional<int> | <0, 65535> | Output region frame height. Default value: atl::NIL. | |
![]()  | outRegion | Avl.Region | Output region. | 


