Table of Contents

Class LineStyle

Namespace
EncDotNet.S100.Pipelines.Vector
Assembly
EncDotNet.S100.Core.dll

An S-100 Part 9 line style (pen and optional dash pattern), as loaded from the portrayal catalogue's line-style files and referenced by name from line drawing instructions.

public sealed class LineStyle
Inheritance
LineStyle
Inherited Members

Properties

Color

Pen colour: normally an S-100 colour token resolved against the active palette at render time; "#000000" when the file declares none.

public required string Color { get; init; }

Property Value

string

Components

The line styles of a composite line style, drawn one over the other in order; empty for a simple line style.

public IReadOnlyList<LineStyle> Components { get; init; }

Property Value

IReadOnlyList<LineStyle>

DashPattern

Dash definition as a flat list of (start offset, length) pairs, in millimetres, or null for a solid line.

public float[]? DashPattern { get; init; }

Property Value

float[]

HasPen

Whether the style draws a pen at all. A style without a <pen> places only its symbols.

public bool HasPen { get; init; }

Property Value

bool

IntervalLength

Length of the repeating pattern of dashes and symbols, in millimetres, or 0 when the file gives none.

public float IntervalLength { get; init; }

Property Value

float

Name

The line style identifier as referenced by drawing instructions.

public required string Name { get; init; }

Property Value

string

Symbols

Symbols placed along the line in each interval, at their position from the start of the interval (S-100 Part 9 line styles, for example the T-marks of a restricted-area boundary).

public IReadOnlyList<LineStyleSymbol> Symbols { get; init; }

Property Value

IReadOnlyList<LineStyleSymbol>

Width

Pen width, in millimetres.

public required float Width { get; init; }

Property Value

float