PolyTree

Overview

PolyTree 是Python的Aspose.Page FOSS中的一个类. 继承人: PolyNode.

这个类提供了4种方法,用于在Python程序中使用PolyTree 对象. 有的方法包括: __init__, add_child, clear, get_first. 在安装Python包的Aspose.Page FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: all_polys, child_count, childs, contour, index, is_hole,另外还有4个.

Properties

NameTypeAccessDescription
totalintRead得到了总数.
all_polysList[PolyNode]Read得到所有的多重.
is_holeboolRead得到了这个洞.
contourList[IntPoint]Read得到了轮.
child_countintRead得到孩子的数量.
parentOptional["PolyNode"]Read得到了父母.
polygonList[IntPoint]Read得到了多边形.
indexintRead得到了索引.
childsList["PolyNode"]Read得到孩子们.
is_openboolRead得到的是开放.

Methods

SignatureDescription
__init__()
clear()
get_first()Optional[PolyNode]返回第一.
add_child(child: "PolyNode")

See Also

 中文