Class DrawingCommand
Base class for one recorded drawing operation. Each subclass carries immutable, cloned state and a DRIT.Drawing.Vector.DrawingCommand.Replay(DRIT.Drawing.IDrawingContext) that re-issues the operation onto any DRIT.Drawing.IDrawingContext.
Inheritance
DrawingCommand
Inherited Members
Namespace: DRIT.Drawing.Vector
Assembly: DRIT.Drawing.dll
Syntax
public abstract class DrawingCommand
Constructors
DrawingCommand()
Initializes a empty DrawingCommand instance.
Declaration
protected DrawingCommand()
Methods
Clone()
Creates a deep copy of this command.
Declaration
public abstract DrawingCommand Clone()
Returns
| Type | Description |
|---|---|
| DrawingCommand | A new DrawingCommand with the same state. |