ColrTable

Overview

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

ColrTable parses color‑glyph data, exposing versioned records and paint definitions for color‑font rendering.

This class declares 1 method for ColrTable 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: base_glyph_records, base_glyph_v1_records, layer_records, layer_v1_records, paints, version.

Properties

NameTypeAccessDescription
versionintRead/WriteGets or sets the version.
base_glyph_recordslist[BaseGlyphRecord]Read/WriteGets or sets the base glyph records.
layer_recordslist[LayerRecord]Read/WriteGets or sets the layer records.
base_glyph_v1_recordslist[BaseGlyphV1Record] | NoneRead/WriteGets or sets the base glyph v1 records.
layer_v1_recordslist[LayerV1Record] | NoneRead/WriteGets or sets the layer v1 records.
paintsdict[int, object] | NoneRead/WriteGets or sets the paints.

Methods

SignatureDescription
from_reader(r: BinaryReader, table_length: int) → "ColrTable"Parse COLR table from binary reader.

See Also