[]
Contains a predefined number of colors. Used for drawing color fonts.
public class CpalPalette
Initializes a new instance of the CpalPalette class.
public CpalPalette(uint[] colors)
colors
uint[]The array of palette entries in ARGB format.
Gets the array of palette entries. Each color has ARGB format.
public uint[] Colors { get; }
Gets or sets a user interface string associated with the palette.
public string Label { get; set; }
Gets or sets a value indicating if the palette is appropriate to use when displaying the font on a dark background such as black.
public bool UsableWithDarkBackground { get; set; }
Gets or sets a value indicating if the palette is appropriate to use when displaying the font on a light background such as white.
public bool UsableWithLightBackground { get; set; }