Skip to content
ChartForgeX
Class

ChartMapLayer

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Modifiers
sealed

Describes a non-data map layer rendered behind or above a region map.

Inheritance

  • object
  • ChartMapLayer

Usage

Explore 10 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Accepted by parameters 8

Constructors

public ChartMapLayer(ChartMapDefinition definition, ChartColor? fillColor, ChartColor? strokeColor, double strokeWidth, string role) #

Initializes a new instance of the ChartMapLayer class.

Parameters

definition ChartForgeX.Core.ChartMapDefinition required
The map geometry definition.
fillColor ChartForgeX.Primitives.ChartColor? required
The optional fill color.
strokeColor ChartForgeX.Primitives.ChartColor? required
The optional stroke color.
strokeWidth double required
The stroke width in rendered pixels.
role string required
The semantic role used in SVG metadata.

Properties

public ChartMapDefinition Definition { get; } #

Gets the map geometry definition rendered by this layer.

public ChartColor? FillColor { get; } #

Gets the optional fill color. Null renders the layer without fill.

public ChartColor? StrokeColor { get; } #

Gets the optional stroke color. Null renders the layer without stroke.

public double StrokeWidth { get; } #

Gets the stroke width in rendered pixels.

public string Role { get; } #

Gets the semantic role used in SVG metadata.