GlyphDeltaReport
概述
GlyphDeltaReport 是 Aspose.Font FOSS 中用于 Python 的类。
GlyphDeltaReport.to_dict 返回报告数据的字典表示。
该类提供 1 个方法,用于在 Python 程序中处理 GlyphDeltaReport 对象。可用的方法包括:to_dict。在安装了 Aspose.Font FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:active_tuples、character、codepoint、component_movements、composite_components、contour_count,以及其他 10 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
glyph_id | int | 读取 | 获取 glyph id。 |
glyph_name | `str | None` | 读取 |
codepoint | `int | None` | 读取 |
character | str | 读取 | 获取字符。 |
instance_label | str | 读取 | 获取实例标签。 |
coordinates | dict[str, float] | 读取 | 获取坐标。 |
normalized_coordinates | dict[str, float] | 读取 | 获取归一化坐标。 |
total_tuple_count | int | 读取 | 获取总元组计数。 |
active_tuples | tuple[DeltaTupleReport, ...] | 读取 | 获取活动元组。 |
strongest_points | tuple[DeltaPoint, ...] | 读取 | 获取最强点。 |
composite_components | tuple[CompositeGlyphComponent, ...] | 读取 | 获取复合组件。 |
component_movements | tuple[CompositeComponentMovement, ...] | 读取 | 获取组件的移动。 |
point_count | int | 读取 | 获取点计数。 |
contour_count | int | 读取 | 获取轮廓计数。 |
is_supported | bool | 读取 | 获取是否受支持。 |
note | `str | None` | 读取 |
方法
| 签名 | 描述 |
|---|---|
to_dict() → dict[str, object] | 返回报告数据的字典表示形式 |