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

Class RestoreStateCommand

Restores the graphics state to the state saved by the paired SaveStateCommand.

Inheritance
object
DrawingCommand
RestoreStateCommand
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 RestoreStateCommand : DrawingCommand

Constructors

RestoreStateCommand(SaveStateCommand)

Initializes a new RestoreStateCommand.

Declaration
public RestoreStateCommand(SaveStateCommand save)
Parameters
Type Name Description
SaveStateCommand save

The paired save command.

Properties

Save

Gets the save command this restore pairs with.

Declaration
public SaveStateCommand Save { get; }
Property Value
Type Description
SaveStateCommand

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