Class ChartGlyph
An icon centered on a point. Size is in pixels.
public sealed record ChartGlyph : IChartMark, IEquatable<ChartGlyph>
- Inheritance
-
ChartGlyph
- Implements
- Inherited Members
Constructors
ChartGlyph(double, double, Icon, ChartColor, double)
An icon centered on a point. Size is in pixels.
public ChartGlyph(double X, double Y, Icon Icon, ChartColor Color, double Size = 20)
Parameters
XdoubleYdoubleIconIconColorChartColorSizedouble
Properties
Color
public ChartColor Color { get; init; }
Property Value
Icon
public Icon Icon { get; init; }
Property Value
Size
public double Size { get; init; }
Property Value
X
public double X { get; init; }
Property Value
Y
public double Y { get; init; }
Property Value
Methods
Deconstruct(out double, out double, out Icon, out ChartColor, out double)
public void Deconstruct(out double X, out double Y, out Icon Icon, out ChartColor Color, out double Size)
Parameters
XdoubleYdoubleIconIconColorChartColorSizedouble
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartGlyph?)
public bool Equals(ChartGlyph? other)
Parameters
otherChartGlyph
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartGlyph?, ChartGlyph?)
public static bool operator ==(ChartGlyph? left, ChartGlyph? right)
Parameters
leftChartGlyphrightChartGlyph
Returns
operator !=(ChartGlyph?, ChartGlyph?)
public static bool operator !=(ChartGlyph? left, ChartGlyph? right)
Parameters
leftChartGlyphrightChartGlyph