Skip to main content

FlatHalfColorPalette Class

Implements half of the FlatColorPalette for improved usability.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.ColorPicker (in Avalonia.Controls.ColorPicker.dll)

public class FlatHalfColorPalette : IColorPalette
View Source
InheritanceObject → FlatHalfColorPalette
ImplementsIColorPalette

Remarks

See: - https://htmlcolorcodes.com/color-chart/ - https://htmlcolorcodes.com/color-chart/flat-design-color-chart/ - http://designmodo.github.io/Flat-UI/ The GitHub project is licensed as MIT: https://github.com/designmodo/Flat-UI.

Constructors

FlatHalfColorPalette()Initializes a new instance of the FlatHalfColorPalette class

Properties

ColorCountGets the total number of colors in this palette. A color is not necessarily a single value and may be composed of several shades.
ShadeCountGets the total number of shades for each color in this palette. Shades are usually a variation of the color lightening or darkening it.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetColor(Int32, Int32)Gets a color in the palette by index.
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
InitColorChart()Initializes all color chart colors.
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Controls Namespace