Struct SymbolAsset
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
ProcessedSvgstringProcessed SVG content (no
svg-content://prefix).PivotRelativeXdoublePivot-to-centre offset as a fraction of width (+X = pivot left of centre).
PivotRelativeYdoublePivot-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
PivotRelativeY
Pivot-to-centre offset as a fraction of height (+Y = pivot above centre, screen +Y down).
public double PivotRelativeY { get; init; }
Property Value
ProcessedSvg
Processed SVG content (no svg-content:// prefix).
public string ProcessedSvg { get; init; }