You are here: Start » AVL.NET » Invoke.RotateRegion
Rotates a region around a specified point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RotateRegion ( Avl.Region inRegion, Optional<Avl.Point2D> inCenter, float inAngle, bool inInverse, Avl.RotationSizeMode inSizeMode, Optional<int> inFrameWidth, Optional<int> inFrameHeight, Avl.Region outRegion, Optional<Avl.CoordinateSystem2D> outOutputAlignment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Avl.Region | Input region. | ||
![]() | inCenter | Atl.Optional<Avl.Point2D> | Center of rotation. Default value: atl::NIL. | ||
![]() | inAngle | float | Clockwise rotation angle. | ||
![]() | inInverse | bool | Switches to counter-clockwise rotation. | ||
![]() | inSizeMode | Avl.RotationSizeMode | Preserve | Determines whether to extent the region size to fit the rotated region. Default value: Preserve. | |
![]() | inFrameWidth | Atl.Optional<int> | <0, 65535> | Output region frame width, ignored when inSizeMode is set to RotationSizeMode::Fit. Default value: atl::NIL. | |
![]() | inFrameHeight | Atl.Optional<int> | <0, 65535> | Output region frame height, ignored when inSizeMode is set to RotationSizeMode::Fit. Default value: atl::NIL. | |
![]() | outRegion | Avl.Region | Output region. | ||
![]() | outOutputAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Alignment of the output region. |