Class ChartPath
An SVG path, either stroked or filled. Outline adds a surface-colored gap around a filled shape.
public sealed record ChartPath : IChartMark, IEquatable<ChartPath>
- Inheritance
-
ChartPath
- Implements
- Inherited Members
Constructors
ChartPath(string, ChartColor, bool, double, ChartStroke, bool, string?)
An SVG path, either stroked or filled. Outline adds a surface-colored gap around a filled shape.
public ChartPath(string Data, ChartColor Color, bool Filled = false, double Opacity = 1, ChartStroke Stroke = ChartStroke.Normal, bool Outline = false, string? Title = null)
Parameters
DatastringColorChartColorFilledboolOpacitydoubleStrokeChartStrokeOutlineboolTitlestring
Properties
Color
public ChartColor Color { get; init; }
Property Value
Data
public string Data { get; init; }
Property Value
Filled
public bool Filled { get; init; }
Property Value
Opacity
public double Opacity { get; init; }
Property Value
Outline
public bool Outline { get; init; }
Property Value
Stroke
public ChartStroke Stroke { get; init; }
Property Value
Title
public string? Title { get; init; }
Property Value
Methods
Deconstruct(out string, out ChartColor, out bool, out double, out ChartStroke, out bool, out string?)
public void Deconstruct(out string Data, out ChartColor Color, out bool Filled, out double Opacity, out ChartStroke Stroke, out bool Outline, out string? Title)
Parameters
DatastringColorChartColorFilledboolOpacitydoubleStrokeChartStrokeOutlineboolTitlestring
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartPath?)
public bool Equals(ChartPath? other)
Parameters
otherChartPath
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartPath?, ChartPath?)
public static bool operator ==(ChartPath? left, ChartPath? right)
Parameters
Returns
operator !=(ChartPath?, ChartPath?)
public static bool operator !=(ChartPath? left, ChartPath? right)