You are here: Start » AVL.NET » Invoke.NormalizeRectangleOrientation
Changes orientation of the given rectangle according to parameters.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void NormalizeRectangleOrientation ( Avl.Rectangle2D inRectangle, float inReferenceAngle, Avl.RectangleOrientation inRectangleOrientation, out Avl.Rectangle2D outRectangle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inRectangle | Avl.Rectangle2D | Input rectangle. | ||
![]()  | inReferenceAngle | float | 0.0f | The middle angle of the valid range of the output rectangle's angle. Default value: 0.0f. | |
![]()  | inRectangleOrientation | Avl.RectangleOrientation | Horizontal | Orientation of the output rectangle. Default value: Horizontal. | |
![]()  | outRectangle | Avl.Rectangle2D | 


