Table of Contents

Class ChartGlyph

Namespace
TwBlazor.Charting
Assembly
TwBlazor.dll

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

X double
Y double
Icon Icon
Color ChartColor
Size double

Properties

Color

public ChartColor Color { get; init; }

Property Value

ChartColor

Icon

public Icon Icon { get; init; }

Property Value

Icon

Size

public double Size { get; init; }

Property Value

double

X

public double X { get; init; }

Property Value

double

Y

public double Y { get; init; }

Property Value

double

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

X double
Y double
Icon Icon
Color ChartColor
Size double

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ChartGlyph?)

public bool Equals(ChartGlyph? other)

Parameters

other ChartGlyph

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ChartGlyph?, ChartGlyph?)

public static bool operator ==(ChartGlyph? left, ChartGlyph? right)

Parameters

left ChartGlyph
right ChartGlyph

Returns

bool

operator !=(ChartGlyph?, ChartGlyph?)

public static bool operator !=(ChartGlyph? left, ChartGlyph? right)

Parameters

left ChartGlyph
right ChartGlyph

Returns

bool