• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ClearCommand

Clears the entire drawing surface with the specified color.

Inheritance
object
DrawingCommand
ClearCommand
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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.

Overrides
DrawingCommand.Clone()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX