Constructor ColorPalette
ColorPalette(int[], bool)
Initializes a new instance of the ColorPalette class.
public ColorPalette(int[] argb32Entries, bool isCompactPalette)
Parameters
argb32Entries
int[]The 32-bit ARGB color palette entries.
isCompactPalette
boolIndicating whether compact it palette.
ColorPalette(int[])
Initializes a new instance of the ColorPalette class and IsCompactPalette is false.
public ColorPalette(int[] argb32Entries)
Parameters
argb32Entries
int[]The 32-bit ARGB color palette entries.
ColorPalette(Color[], bool)
Initializes a new instance of the ColorPalette class.
public ColorPalette(Color[] entries, bool isCompactPalette)
Parameters
entries
Color[]The color palette entries.
isCompactPalette
boolIndicating whether compact it palette.
ColorPalette(Color[])
Initializes a new instance of the ColorPalette class and IsCompactPalette is false.
public ColorPalette(Color[] entries)
Parameters
entries
Color[]The color palette entries.