ColorPalette constructor

init

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

def __init__(self, argb_32_entries):
    ...
ParameterTypeDescription
argb_32_entrieslistThe 32-bit ARGB color palette entries.

init

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

def __init__(self, entries):
    ...
ParameterTypeDescription
entrieslistThe color palette entries.

init

Initializes a new instance of the ColorPalette class.

def __init__(self, argb_32_entries, is_compact_palette):
    ...
ParameterTypeDescription
argb_32_entrieslistThe 32-bit ARGB color palette entries.
is_compact_paletteboolIndicating whether compact it palette.

init

Initializes a new instance of the ColorPalette class.

def __init__(self, entries, is_compact_palette):
    ...
ParameterTypeDescription
entrieslistThe color palette entries.
is_compact_paletteboolIndicating whether compact it palette.

See Also