You are here: Start » AVL.NET » AVL.CreateBoxBorderRegion(AvlNet.Box, int, AvlNet.BorderPosition, int, int, AvlNet.Region)
AVL.CreateBoxBorderRegion(AvlNet.Box, int, AvlNet.BorderPosition, int, int, AvlNet.Region)
Creates a frame-shaped region with given parameters.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CreateBoxBorderRegion( AvlNet.Box inBox, int inBorderWidth, AvlNet.BorderPosition inBorderPosition, int inFrameWidth, int inFrameHeight, out AvlNet.Region outRegion )
Parameters
- inBox
- Type: AvlNet.Box
- inBorderWidth
- Type: System.Int32
- inBorderPosition
- Type: AvlNet.BorderPosition
- inFrameWidth
- Type: System.Int32
Width of the created region's frame - inFrameHeight
- Type: System.Int32
Height of the created region's frame - outRegion
- Type: AvlNet.Region
Output region
Errors
| Error type | Description |
|---|---|
| DomainError | Incorrect BorderPosition in CreateBoxBorderRegion. |
