ColorPalette.ColorPalette

ColorPalette(int[], bool)

Initializes a new instance of the ColorPalette class.

public ColorPalette(int[] argb32Entries, bool isCompactPalette)
ParameterTypeDescription
argb32EntriesInt32[]The 32-bit ARGB color palette entries.
isCompactPaletteBooleanIndicating whether compact it palette.

See Also


ColorPalette(int[])

Initializes a new instance of the ColorPalette class and IsCompactPalette is false.

public ColorPalette(int[] argb32Entries)
ParameterTypeDescription
argb32EntriesInt32[]The 32-bit ARGB color palette entries.

See Also


ColorPalette(Color[], bool)

Initializes a new instance of the ColorPalette class.

public ColorPalette(Color[] entries, bool isCompactPalette)
ParameterTypeDescription
entriesColor[]The color palette entries.
isCompactPaletteBooleanIndicating whether compact it palette.

See Also


ColorPalette(Color[])

Initializes a new instance of the ColorPalette class and IsCompactPalette is false.

public ColorPalette(Color[] entries)
ParameterTypeDescription
entriesColor[]The color palette entries.

See Also