Class ClearCommand
Clears the entire drawing surface with the specified color.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class ClearCommand : DrawingCommand
Constructors
ClearCommand(Color)
Initializes a new ClearCommand.
Declaration
public ClearCommand(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color to clear with. |
Properties
Color
Gets the color to clear with.
Declaration
public Color Color { get; }
Property Value
| Type | Description |
|---|---|
| Color |
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. |