Class RotateTransformCommand
Rotates the world transform by the specified angle.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class RotateTransformCommand : DrawingCommand
Constructors
RotateTransformCommand(float, MatrixOrder)
Initializes a new RotateTransformCommand.
Declaration
public RotateTransformCommand(float angle, MatrixOrder order)
Parameters
| Type | Name | Description |
|---|---|---|
| float | angle | |
| MatrixOrder | order |
Properties
Angle
Gets the rotation angle in degrees.
Declaration
public float Angle { get; }
Property Value
| Type | Description |
|---|---|
| float |
Order
Gets the multiplication order.
Declaration
public MatrixOrder Order { get; }
Property Value
| Type | Description |
|---|---|
| MatrixOrder |
Methods
Clone()
Creates a deep copy of this command.
Declaration
public override DrawingCommand Clone()
Returns
| Type | Description |
|---|---|
| DrawingCommand | A new DrawingCommand with the same state. |