Table of Contents

Class MapDatasetSubLayer

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

Renderer-neutral display state for one portrayal sub-layer of a loaded dataset.

public sealed class MapDatasetSubLayer
Inheritance
MapDatasetSubLayer
Inherited Members

Constructors

MapDatasetSubLayer(string, string, bool, double)

Creates a sub-layer state snapshot.

public MapDatasetSubLayer(string key, string name, bool isVisible = true, double opacity = 1)

Parameters

key string

Stable processor-supplied key used to reconcile the sub-layer across re-portrayals.

name string

Human-readable, non-localized sub-layer name.

isVisible bool

Whether the sub-layer is enabled.

opacity double

Sub-layer opacity in the inclusive range 0..1.

Exceptions

ArgumentException

key or name is empty or consists only of white-space characters.

ArgumentOutOfRangeException

opacity is not finite or lies outside 0..1.

Properties

IsVisible

Whether this sub-layer is enabled.

public bool IsVisible { get; }

Property Value

bool

Key

Stable processor-supplied key used to reconcile this sub-layer across re-portrayals.

public string Key { get; }

Property Value

string

Name

Human-readable, non-localized sub-layer name.

public string Name { get; }

Property Value

string

Opacity

Sub-layer opacity in the inclusive range 0..1.

public double Opacity { get; }

Property Value

double