Table of Contents

Class GmlDatasetProcessorBase<TFeature>.SupplementalPortrayal

Namespace
EncDotNet.S100.Datasets.Pipelines
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

Drawing instructions and their pre-resolved assets from a supplemental portrayal source (see BuildSupplementalPortrayalAsync(RenderContext?, CancellationToken)).

protected sealed record GmlDatasetProcessorBase<TFeature>.SupplementalPortrayal : IEquatable<GmlDatasetProcessorBase<TFeature>.SupplementalPortrayal>
Inheritance
GmlDatasetProcessorBase<TFeature>.SupplementalPortrayal
Implements
Inherited Members

Constructors

SupplementalPortrayal(IReadOnlyList<DrawingInstruction>, ColorPalette, Func<string, string?>, Func<string, LineStyle?>, Func<string, AreaFill?>, string?)

Drawing instructions and their pre-resolved assets from a supplemental portrayal source (see BuildSupplementalPortrayalAsync(RenderContext?, CancellationToken)).

public SupplementalPortrayal(IReadOnlyList<DrawingInstruction> Instructions, ColorPalette Palette, Func<string, string?> SymbolSvg, Func<string, LineStyle?> LineStyle, Func<string, AreaFill?> AreaFill, string? Info = null)

Parameters

Instructions IReadOnlyList<DrawingInstruction>

Instructions referencing this dataset's features; drawn before the product's own XSLT instructions (drawing priority still orders them).

Palette ColorPalette

Colour palette resolving the supplemental instructions' colour tokens; it replaces the product palette, so it must also cover the tokens the product's own instructions use.

SymbolSvg Func<string, string>

Resolves a supplemental symbol name to SVG, or null.

LineStyle Func<string, LineStyle>

Resolves a supplemental line-style name, or null.

AreaFill Func<string, AreaFill>

Resolves a supplemental area-fill name, or null.

Info string

Optional extra status line for the dataset info string.

Properties

AreaFill

Resolves a supplemental area-fill name, or null.

public Func<string, AreaFill?> AreaFill { get; init; }

Property Value

Func<string, AreaFill>

Info

Optional extra status line for the dataset info string.

public string? Info { get; init; }

Property Value

string

Instructions

Instructions referencing this dataset's features; drawn before the product's own XSLT instructions (drawing priority still orders them).

public IReadOnlyList<DrawingInstruction> Instructions { get; init; }

Property Value

IReadOnlyList<DrawingInstruction>

LineStyle

Resolves a supplemental line-style name, or null.

public Func<string, LineStyle?> LineStyle { get; init; }

Property Value

Func<string, LineStyle>

Palette

Colour palette resolving the supplemental instructions' colour tokens; it replaces the product palette, so it must also cover the tokens the product's own instructions use.

public ColorPalette Palette { get; init; }

Property Value

ColorPalette

SymbolSvg

Resolves a supplemental symbol name to SVG, or null.

public Func<string, string?> SymbolSvg { get; init; }

Property Value

Func<string, string>