Class SetTransformCommand
Sets the world transform to the specified matrix.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class SetTransformCommand : DrawingCommand
Constructors
SetTransformCommand(Matrix)
Initializes a new SetTransformCommand, cloning the matrix.
Declaration
public SetTransformCommand(Matrix transform)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix | transform |
Properties
Transform
Gets the transform matrix.
Declaration
public Matrix Transform { get; }
Property Value
| Type | Description |
|---|---|
| Matrix |
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. |