Class GmlDatasetProcessorBase<TFeature>.SupplementalPortrayal
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
InstructionsIReadOnlyList<DrawingInstruction>Instructions referencing this dataset's features; drawn before the product's own XSLT instructions (drawing priority still orders them).
PaletteColorPaletteColour 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.
SymbolSvgFunc<string, string>Resolves a supplemental symbol name to SVG, or null.
LineStyleFunc<string, LineStyle>Resolves a supplemental line-style name, or null.
AreaFillFunc<string, AreaFill>Resolves a supplemental area-fill name, or null.
InfostringOptional 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
Info
Optional extra status line for the dataset info string.
public string? Info { get; init; }
Property Value
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
LineStyle
Resolves a supplemental line-style name, or null.
public Func<string, LineStyle?> LineStyle { get; init; }
Property Value
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
SymbolSvg
Resolves a supplemental symbol name to SVG, or null.
public Func<string, string?> SymbolSvg { get; init; }