Class SetRenderingOriginCommand
Sets the rendering origin.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class SetRenderingOriginCommand : DrawingCommand
Constructors
SetRenderingOriginCommand(Point)
Initializes a new SetRenderingOriginCommand.
Declaration
public SetRenderingOriginCommand(Point origin)
Parameters
| Type | Name | Description |
|---|---|---|
| Point | origin |
Properties
Origin
Gets the rendering origin.
Declaration
public Point Origin { get; }
Property Value
| Type | Description |
|---|---|
| Point |
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. |