You are here: Start » AVL.NET » AVL.ResizeRegion_Relative(AvlNet.Region, float, float, AvlNet.Region)
AVL.ResizeRegion_Relative(AvlNet.Region, float, float, AvlNet.Region)
Resizes region relatively along each axis.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ResizeRegion_Relative( AvlNet.Region inRegion, float inHorizontalScale, float inVerticalScale, out AvlNet.Region outRegion )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inHorizontalScale
- Type: System.Single
- inVerticalScale
- Type: System.Single
- outRegion
- Type: AvlNet.Region
Output region
Examples
![]() |
![]() |
ResizeRegion_Relative performed on the sample region with inHorizontalScale and inVerticalScale both set to 0,5.
Errors
| Error type | Description |
|---|---|
| DomainError | Output region too big in ResizeRegion_Relative. |


