You are here: Start » AVL.NET » Invoke.CreateRectangleRegion
Creates a region corresponding to a given rectangle.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateRectangleRegion ( Avl.Rectangle2D inRectangle, Optional<Avl.CoordinateSystem2D> inRectangleAlignment, 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. | ||
![]()  | inFrameWidth | int | <0, 65535> | Width of the created region's frame (not to be confused with the width of the rectangle!). | |
![]()  | inFrameHeight | int | <0, 65535> | Height of the created region's frame (not to be confused with the height of the rectangle!). | |
![]()  | outRegion | Avl.Region | Output region. | ||
![]()  | outAlignedRectangle | Atl.Optional<Avl.Rectangle2D> | The input rectangle transformed to the absolute coordinate system. | 


