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