Table of Contents

Class ContourStyle

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

Defines the visual style for a contour line: a depth contour, an isobar, or a line of equal wave height.

public sealed class ContourStyle
Inheritance
ContourStyle
Inherited Members

Properties

Color

Line colour as a hex string (e.g. "#333333").

public required string Color { get; init; }

Property Value

string

DashPattern

Dash pattern. null or empty means a solid line. Values alternate between dash length and gap length.

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

Property Value

float[]

LineWidth

Line width in display units.

public required float LineWidth { get; init; }

Property Value

float

ShowLabel

Whether to label this contour line with its value.

public bool ShowLabel { get; init; }

Property Value

bool

Unit

The unit of Value as a UCUM-style symbol (e.g. "m", "hPa", "m/s"), matching the units of the coverage field the contour is traced on.

public required string Unit { get; init; }

Property Value

string

Value

The value this contour represents, in Unit. Products that work in typed quantities convert where they build the contour (for example an S-102 depth contour uses Depth.Metres and "m").

public required double Value { get; init; }

Property Value

double