You are here: Start » AVL.NET » AVL.CreateBoxBorderRegion
Creates a frame-shaped region with given parameters.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateBoxBorderRegion ( AvlNet.Box inBox, int inBorderWidth, AvlNet.BorderPosition inBorderPosition, int inFrameWidth, int inFrameHeight, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBox | AvlNet.Box | ||||
inBorderWidth | int | <0, INF> | 1 | Default value: 1. | |
inBorderPosition | AvlNet.BorderPosition | Centered | Default value: Centered. | ||
inFrameWidth | int | <0, INF> | Width of the created region's frame. | ||
inFrameHeight | int | <0, INF> | Height of the created region's frame. | ||
outRegion | AvlNet.Region | Output region. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect BorderPosition in CreateBoxBorderRegion. |