Class TranslateClipCommand
Translates the clipping region by the specified amount.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TranslateClipCommand : DrawingCommand
Constructors
TranslateClipCommand(float, float)
Initializes a new TranslateClipCommand.
Declaration
public TranslateClipCommand(float dx, float dy)
Parameters
| Type | Name | Description |
|---|---|---|
| float | dx | |
| float | dy |
Properties
Dx
Gets the horizontal translation.
Declaration
public float Dx { get; }
Property Value
| Type | Description |
|---|---|
| float |
Dy
Gets the vertical translation.
Declaration
public float Dy { 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. |