DeltaTupleReport

DeltaTupleReport

概述

DeltaTupleReport 是 Aspose.Font FOSS 中用于 Python 的一个类。

DeltaTupleReport.to_dict 将 delta 元组报告序列化为普通的 Python 字典,以便轻松进行 JSON 导出。

此类提供 1 个方法,用于在 Python 程序中处理 DeltaTupleReport 对象。可用的方法包括:to_dict。在安装 Aspose.Font FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:end_coords、max_abs_dx、max_abs_dy、non_zero_outline_points、non_zero_phantom_points、non_zero_points,以及另外 10 个。

属性

名称类型访问描述
tuple_indexint读取获取元组索引。
scalarfloat读取获取标量。
peak_coordsdict[str, float]读取获取峰值坐标。
start_coords`dict[str, float]None`读取
end_coords`dict[str, float]None`读取
referenced_pointsint读取获取引用的点。
referenced_outline_pointsint读取获取引用的提纲点。
referenced_phantom_pointsint读取获取引用的幻影点。
non_zero_pointsint读取获取非零点。
non_zero_outline_pointsint读取获取非零轮廓点。
non_zero_phantom_pointsint读取获取非零幻影点。
max_abs_dxfloat读取获取最大绝对 dx。
max_abs_dyfloat读取获取最大绝对 dy。
total_abs_dxfloat读取获取总的 abs dx。
total_abs_dyfloat读取获取总的绝对 dy。
top_pointstuple[DeltaPoint, ...]读取获取最高点。

方法

签名描述
to_dict() → dict[str, object]将 delta tuple report 序列化为一个普通的 Python 字典,以便轻松进行 JSON 导出

另请参阅

 中文