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

Class VectorScene

Format-agnostic recording of a sequence of drawing operations. Producers (RecordingGraphics, EmfPlayer, SvgReader) append commands; consumers (VectorScenePlayer, SvgWriter, EmfDrawingContext) read them.

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

Back to top

DR-IT Software documentation

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

Generated by DocFX