Class SaveStateCommand
Saves the current graphics state. The GraphicsState token is produced by the target at replay time and stored in DRIT.Drawing.Vector.Commands.SaveStateCommand.LastToken so the paired RestoreStateCommand can use it. This supports sequential multi-replay.
Inherited Members
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class SaveStateCommand : DrawingCommand
Constructors
SaveStateCommand()
Initializes a empty SaveStateCommand instance.
Declaration
public 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. |