Class ScaleTransformCommand
Scales the world transform by the specified factors.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class ScaleTransformCommand : DrawingCommand
Constructors
ScaleTransformCommand(float, float, MatrixOrder)
Initializes a new ScaleTransformCommand.
Declaration
public ScaleTransformCommand(float sx, float sy, MatrixOrder order)
Parameters
| Type | Name | Description |
|---|---|---|
| float | sx | |
| float | sy | |
| MatrixOrder | order |
Properties
Order
Gets the multiplication order.
Declaration
public MatrixOrder Order { get; }
Property Value
| Type | Description |
|---|---|
| MatrixOrder |
Sx
Gets the horizontal scale factor.
Declaration
public float Sx { get; }
Property Value
| Type | Description |
|---|---|
| float |
Sy
Gets the vertical scale factor.
Declaration
public float Sy { get; }
Property Value
| Type | Description |
|---|---|
| float |
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. |