CpalTable

Overview

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

This class declares 1 method for CpalTable objects in Python programs. Available methods include: from_reader. Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: color_labels, color_record_indices, num_color_records, num_palettes, palette_labels, palettes, and 1 more.

Properties

NameTypeAccessDescription
versionintRead/WriteGets or sets the version.
num_palettesintRead/WriteGets or sets the num palettes.
num_color_recordsintRead/WriteGets or sets the num color records.
color_record_indiceslist[int]Read/WriteGets or sets the color record indices.
paletteslist[ColorPalette]Read/WriteGets or sets the palettes.
palette_labelslist[int]Read/WriteGets or sets the palette labels.
color_labelslist[int]Read/WriteGets or sets the color labels.

Methods

SignatureDescription
from_reader(r: BinaryReader, table_length: int, num_palette_colors: int | None) → "CpalTable"Calls from_reader(r, table_length, num_palette_colors) on this CpalTable instance.

See Also