You are here: Start » AVL.NET » AVL.CreateRectangleBorderRegion
Creates a frame-shaped region with given parameters.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateRectangleBorderRegion ( AvlNet.Rectangle2D inRectangle, AvlNet.CoordinateSystem2D? inRectangleAlignment, float inBorderWidth, AvlNet.BorderPosition inBorderPosition, int inFrameWidth, int inFrameHeight, out AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRectangle | AvlNet.Rectangle2D | |||
![]() | inRectangleAlignment | AvlNet.CoordinateSystem2D? | Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL, or null. | ||
![]() | inBorderWidth | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | 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
Error type | Description |
---|---|
DomainError | Incorrect BorderPosition in CreateRectangleBorderRegion. |
See also
- CreateRectangleBorderRegion(AvlNet.Rectangle2D, float, AvlNet.BorderPosition, int, int, AvlNet.Region)
- CreateRectangleBorderRegion(AvlNet.Rectangle2D, float, AvlNet.BorderPosition, int, int, AvlNet.Region, AvlNet.Rectangle2D)
- CreateRectangleBorderRegion(AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, float, AvlNet.BorderPosition, int, int, AvlNet.Region, AvlNet.Rectangle2D)
- Class Reference
- AVL Class