Table of Contents

Struct SymbolAsset

Namespace
EncDotNet.S100.Rendering.Scene
Assembly
EncDotNet.S100.Rendering.Scene.dll

A resolved point-symbol asset: the processed (class-resolved) SVG content plus the S-100 Part 9 §11.5 pivot offset expressed as a fraction of symbol size in screen-space orientation (+Y = down).

public readonly record struct SymbolAsset : IEquatable<SymbolAsset>
Implements
Inherited Members

Constructors

SymbolAsset(string, double, double)

A resolved point-symbol asset: the processed (class-resolved) SVG content plus the S-100 Part 9 §11.5 pivot offset expressed as a fraction of symbol size in screen-space orientation (+Y = down).

public SymbolAsset(string ProcessedSvg, double PivotRelativeX, double PivotRelativeY)

Parameters

ProcessedSvg string

Processed SVG content (no svg-content:// prefix).

PivotRelativeX double

Pivot-to-centre offset as a fraction of width (+X = pivot left of centre).

PivotRelativeY double

Pivot-to-centre offset as a fraction of height (+Y = pivot above centre, screen +Y down).

Properties

PivotRelativeX

Pivot-to-centre offset as a fraction of width (+X = pivot left of centre).

public double PivotRelativeX { get; init; }

Property Value

double

PivotRelativeY

Pivot-to-centre offset as a fraction of height (+Y = pivot above centre, screen +Y down).

public double PivotRelativeY { get; init; }

Property Value

double

ProcessedSvg

Processed SVG content (no svg-content:// prefix).

public string ProcessedSvg { get; init; }

Property Value

string