copy_palette method

copy_palette

Copies the palette.

Returns

The newly created and copied palette or null if null palette passed.

def copy_palette(self, color_palette):
    ...
ParameterTypeDescription
color_paletteIColorPaletteThe color palette.

copy_palette

Copies the palette.

Returns

The newly created and copied palette or null if null palette passed.

def copy_palette(self, color_palette, use_compact_palette):
    ...
ParameterTypeDescription
color_paletteIColorPaletteThe color palette.
use_compact_paletteboolIndicating whether compact palette.

See Also