Table of Contents

Class Snapshot

Namespace
Gve.Text.DTO
Assembly
Gve.Text.dll

A GVE snapshot DTO object containing all the data required to represent a snapshot. All its objects are POCO objects without any logic.

public class Snapshot
Inheritance
Snapshot
Inherited Members

Constructors

Snapshot()

Initializes a new instance of the Snapshot class.

public Snapshot()

Properties

Defs

Gets or sets the optional SVG defs element code. The defs element is used to store graphical objects that will be used at a later time (via use: see e.g. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs).

public string? Defs { get; set; }

Property Value

string

Image

Gets or sets the optional snapshot background image.

public SnapshotImage? Image { get; set; }

Property Value

SnapshotImage

OpStyle

Gets or sets the operations layer CSS style.

public string? OpStyle { get; set; }

Property Value

string

Operations

Gets or sets the snapshot operations.

public IList<CharChainOperationSource> Operations { get; set; }

Property Value

IList<CharChainOperationSource>

Size

Gets or sets the visual snapshot's size in pixels.

public Size Size { get; set; }

Property Value

Size

Style

Gets or sets the snapshot CSS style.

public string? Style { get; set; }

Property Value

string

Text

Gets or sets the text nodes.

public List<CharChainNode> Text { get; set; }

Property Value

List<CharChainNode>

TextOptions

Gets or sets the SVG base text options.

public SvgBaseTextOptions TextOptions { get; set; }

Property Value

SvgBaseTextOptions

TextStyle

Gets or sets the base text layer CSS style.

public string? TextStyle { get; set; }

Property Value

string

Timelines

Gets or sets the animation timelines.

public IDictionary<string, AnimationTimeline>? Timelines { get; set; }

Property Value

IDictionary<string, AnimationTimeline>