TopologyPathDecoration
ChartForgeX.Topology
A detached path painted behind topology relationships and nodes without introducing graph facts.
Inheritance
- object
- TopologyPathDecoration
Remarks
Coordinates use the chart's authored coordinate domain and participate in native fitting and clipping. Only absolute M, L and C commands are accepted; use TopologyPathDecoration.Close to close every subpath. Paths are bounded to 4096 commands, 262144 source characters and coordinates within one billion units. Native SVG, HTML, PNG and version-2 portable interchange share the same immutable numeric capture.
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 2
Constructors
public TopologyPathDecoration(string id, string pathData, ChartColor? fill = null, ChartColor? stroke = null, double strokeWidth = 1, bool close = false, IEnumerable<double>? dashPattern = null) #Captures a path and its optional native fill, stroke and dash pattern.
Parameters
- id string
- pathData string
- fill ChartForgeX.Primitives.ChartColor? = null
- stroke ChartForgeX.Primitives.ChartColor? = null
- strokeWidth double = 1
- close bool = false
- dashPattern System.Collections.Generic.IEnumerable<double>? = null
Inherited Methods
Properties
public string Id { get; } #Gets the stable decoration identity, independent of graph nodes and edges.
public string PathData { get; } #Gets normalized SVG path text with round-trip double precision. Legacy SVG markup formatting is independent.
public ChartColor? Fill { get; } #Gets the optional fill. Null paints no fill.
public ChartColor? Stroke { get; } #Gets the optional stroke. Null paints no stroke.
public double StrokeWidth { get; } #Gets the logical stroke width, scaled with the topology.
public bool Close { get; } #Gets whether each captured subpath is closed.
public IReadOnlyList<double>? DashPattern { get; } #Gets a detached immutable dash pattern, or null for a solid stroke.