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
| Name | Type | Access | Description |
|---|---|---|---|
version | int | Read/Write | Gets or sets the version. |
base_glyph_records | list[BaseGlyphRecord] | Read/Write | Gets or sets the base glyph records. |
layer_records | list[LayerRecord] | Read/Write | Gets or sets the layer records. |
base_glyph_v1_records | list[BaseGlyphV1Record] | None | Read/Write | Gets or sets the base glyph v1 records. |
layer_v1_records | list[LayerV1Record] | None | Read/Write | Gets or sets the layer v1 records. |
paints | dict[int, object] | None | Read/Write | Gets or sets the paints. |
Methods
| Signature | Description |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "ColrTable" | Parse COLR table from binary reader. |