API Reference
Struct
ChartMapRegion
Describes one drawable region inside a map definition.
Inheritance
- ValueType
- ChartMapRegion
Usage
Explore 2 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 1
- Property ChartMapDefinition.Regions
Accepted by parameters 1
- Constructor ChartMapDefinition.ChartMapDefinition
Constructors
public ChartMapRegion(String code, String name, String path, ChartPoint? label = null, IEnumerable<String>? aliases = null) #Initializes a new instance of the ChartMapRegion struct.
Parameters
- code System.String
- The canonical region code.
- name System.String
- The display name for the region.
- path System.String
- The SVG path data for the region.
- label ChartForgeX.Primitives.ChartPoint? = null
- An optional preferred label point.
- aliases System.Collections.Generic.IEnumerable<System.String>? = null
- Optional alternate codes or names.
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?
Properties
public IReadOnlyList<String> Aliases { get; } #Gets alternate codes or names that should resolve to this region.
Fields
public readonly String Code #Gets the canonical region code.
public readonly String Name #Gets the display name for the region.
public readonly String Path #Gets the SVG path data for the region in the definition coordinate space.
public readonly Boolean HasLabel #Gets a value indicating whether the region has a preferred label point.
public readonly ChartPoint Label #Gets the preferred label point in the definition coordinate space.