You are here: Start » AVL.NET » Invoke.CreateRectangleBorderRegion
Creates a frame-shaped region with given parameters.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateRectangleBorderRegion ( Avl.Rectangle2D inRectangle, Optional<Avl.CoordinateSystem2D> inRectangleAlignment, float inBorderWidth, Avl.BorderPosition inBorderPosition, int inFrameWidth, int inFrameHeight, Avl.Region outRegion, Optional<Avl.Rectangle2D> outAlignedRectangle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRectangle | Avl.Rectangle2D | |||
![]()  | inRectangleAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the rectangle to the position of the inspected object. Default value: atl::NIL. | ||
![]()  | inBorderWidth | float | <0.0f, INF> | 1.0f | Default value: 1.0f. | 
![]()  | inBorderPosition | Avl.BorderPosition | Centered | Default value: Centered. | |
![]()  | inFrameWidth | int | <0, 65535> | Width of the created region's frame. | |
![]()  | inFrameHeight | int | <0, 65535> | Height of the created region's frame. | |
![]()  | outRegion | Avl.Region | Output region. | ||
![]()  | outAlignedRectangle | Atl.Optional<Avl.Rectangle2D> | The input rectangle transformed to the absolute coordinate system. | 


