PolyNode

概述

PolyNode 是 Aspose.Page FOSS 中用于 Python 的一个类。

此类提供 2 个方法,用于在 Python 程序中处理 PolyNode 对象。可用的方法包括:__init__、add_child。在安装了 Aspose.Page FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:child_count、childs、contour、index、is_hole、is_open,以及另外 2 个。

属性

名称类型访问描述
is_holebool读取获取 is hole。
contourList[IntPoint]读取获取轮廓。
child_countint读取获取子节点计数。
parentOptional["PolyNode"]读取获取父节点。
polygonList[IntPoint]读取获取多边形。
indexint读取获取索引。
childsList["PolyNode"]读取获取子节点。
is_openbool读取获取是否打开。

方法

签名描述
__init__()
add_child(child: "PolyNode")

另请参阅

 中文