Table of Contents

Class VectorCompositeLayer

Namespace
EncDotNet.S100.Renderers.Skia.Scene
Assembly
EncDotNet.S100.Renderers.Skia.dll

A CompositeLayer that paints a lowered vector VectorScene via SkiaDisplayListRenderer.

public sealed class VectorCompositeLayer : CompositeLayer
Inheritance
VectorCompositeLayer
Inherited Members

Constructors

VectorCompositeLayer(VectorScene, bool)

Creates a vector composite layer from a resolved scene.

public VectorCompositeLayer(VectorScene scene, bool honorScaleVisibility = true)

Parameters

scene VectorScene

The lowered vector scene (from VectorSceneBuilder).

honorScaleVisibility bool

Whether to apply S-100 Part 9 §11.1 scale-visibility culling using the shared viewport's scale denominator. Defaults to true.

Properties

EnableSeamWrap

Whether geometry is wrapped into a viewport that crosses the ±180° antimeridian (see EnableSeamWrap). Defaults to true. A tiled render turns it off and draws the world copies itself, because wrapping under a narrow tile viewport smears polygons that extend beyond the tile.

public bool EnableSeamWrap { get; init; }

Property Value

bool

FinerCoverages

The coverages of finer cells that hide this layer where they overlap it and are themselves drawing (see FinerCoverage). Empty by default, so the layer paints in full.

public IReadOnlyList<FinerCoverage> FinerCoverages { get; init; }

Property Value

IReadOnlyList<FinerCoverage>

KeepAreaSymbolsInView

Whether area-placed symbols and text move into the part of their surface in the viewport (see KeepAreaSymbolsInView). Defaults to true. A tiled render turns it off.

public bool KeepAreaSymbolsInView { get; init; }

Property Value

bool

MinimumDisplayScale

The coarsest scale denominator the whole layer is drawn at, such as a cell's DataCoverage.minimumDisplayScale, or null for no limit. Applied only with scale-visibility culling on: past it, Draw(SKCanvas, Viewport) paints nothing, area fills included.

public double? MinimumDisplayScale { get; init; }

Property Value

double?

Methods

Draw(SKCanvas, Viewport)

Paints this layer onto canvas against the shared composite viewport. Implementations must not clear the canvas — the compositor clears the background once before drawing the ordered layer list.

public override void Draw(SKCanvas canvas, Viewport viewport)

Parameters

canvas SKCanvas

The composite canvas.

viewport Viewport

The shared composite viewport (pixel space).