ColorPalette

Overview

ColorPalette is a class in Aspose.Font FOSS for Python.

This class declares 2 methods for ColorPalette objects in Python programs. Available methods include: __getitem__, __len__. Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: colors.

Properties

NameTypeAccessDescription
colorslist[tuple[int, int, int, int]]Read/WriteGets or sets the colors.

Methods

SignatureDescription
__len__() → intCalls len on this ColorPalette instance.
__getitem__(index: int) → tuple[int, int, int, int]Calls getitem(index) on this ColorPalette instance.

See Also