You are here: Start » AVL.NET » AVS.RotateRegion Method
AVS.RotateRegion Method
Rotates a region around a specified point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RotateRegion ( AvlNet.Region inRegion, AvlNet.Point2D? inCenter, float inAngle, bool inInverse, AvlNet.RotationSizeMode inSizeMode, int? inFrameWidth, int? inFrameHeight, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inCenter | AvlNet.Point2D? | Center of rotation. Default value: atl::NIL. | |||
inAngle | float | Clockwise rotation angle. | |||
inInverse | bool | Switches to counter-clockwise rotation. | |||
inSizeMode | AvlNet.RotationSizeMode | Preserve | Determines whether to extent the region size to fit the rotated region. Default value: Preserve. | ||
inFrameWidth | int? | <0, 65535> | Output region frame width, ignored when inSizeMode is set to RotationSizeMode::Fit. Default value: atl::NIL. | ||
inFrameHeight | int? | <0, 65535> | Output region frame height, ignored when inSizeMode is set to RotationSizeMode::Fit. Default value: atl::NIL. | ||
outRegion | AvlNet.Region | Output region. |
Function Overrides
- RotateRegion(Region, Single, Boolean, RotationSizeMode, Nullable<Int32>, Nullable<Int32>, Region)
- RotateRegion(Region, Nullable<Point2D>, Single, Boolean, RotationSizeMode, Nullable<Int32>, Nullable<Int32>, Region, CoordinateSystem2D)
- RotateRegion(Region, Nullable<Point2D>, Single, Boolean, RotationSizeMode, Nullable<Int32>, Nullable<Int32>, Region, NullableValue<CoordinateSystem2D>)