Class VectorScene
Format-agnostic recording of a sequence of drawing operations. Producers (RecordingGraphics, EmfPlayer, SvgReader) append commands; consumers (VectorScenePlayer, SvgWriter, EmfDrawingContext) read them.
Inherited Members
Namespace: DRIT.Drawing.Vector
Assembly: DRIT.Drawing.dll
Syntax
public sealed class VectorScene
Constructors
VectorScene()
Initializes a empty VectorScene instance.
Declaration
public VectorScene()
Properties
Commands
Gets the ordered list of recorded drawing commands.
Declaration
public List<DrawingCommand> Commands { get; }
Property Value
| Type | Description |
|---|---|
| List<DrawingCommand> |
DpiX
Gets or sets the horizontal resolution in dots per inch.
Declaration
public float DpiX { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
DpiY
Gets or sets the vertical resolution in dots per inch.
Declaration
public float DpiY { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Height
Gets or sets the canvas height in pixels.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Width
Gets or sets the canvas width in pixels.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Clone()
Creates a deep copy of this scene, including cloned commands.
Declaration
public VectorScene Clone()
Returns
| Type | Description |
|---|---|
| VectorScene | A new VectorScene with the same content. |