Class PaletteEntry
Defines an entry in a ChartPalette instance.
Inheritance
Namespace: Telerik.Maui.Controls.Compatibility.Chart
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public sealed class PaletteEntry : ValueType
Constructors
PaletteEntry(Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fillColor)
Parameters
Microsoft.Maui.Graphics.Color
fillColor
The fill color. |
PaletteEntry(Color, Color)
Initializes a new instance of the PaletteEntry struct.
Declaration
public PaletteEntry(Color fillColor, Color strokeColor)
Parameters
Microsoft.Maui.Graphics.Color
fillColor
The fill color. |
Microsoft.Maui.Graphics.Color
strokeColor
The stroke color. |
Properties
FillColor
Gets or sets the Microsoft.Maui.Graphics.Color instance that defines the fill of the corresponding visual objects.
Declaration
public Color FillColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
StrokeColor
Gets or sets the
Declaration
public Color StrokeColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Operators
Equality(PaletteEntry, PaletteEntry)
Determines whether the two palette entries are equal.
Declaration
public static bool operator ==(PaletteEntry entry1, PaletteEntry entry2)
Parameters
PaletteEntry
entry1
|
PaletteEntry
entry2
|
Returns
System.Boolean
|
Inequality(PaletteEntry, PaletteEntry)
Determines whether the two palette entries are not equal.
Declaration
public static bool operator !=(PaletteEntry entry1, PaletteEntry entry2)
Parameters
PaletteEntry
entry1
|
PaletteEntry
entry2
|
Returns
System.Boolean
|