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