PolyNode

Overview

PolyNode is a class in Aspose.Page FOSS for Python.

This class provides 2 methods for working with PolyNode objects in Python programs. Available methods include: __init__, add_child. All public members are accessible to any Python application after installing the Aspose.Page FOSS for Python package. Properties: child_count, childs, contour, index, is_hole, is_open, and 2 more.

Properties

NameTypeAccessDescription
is_holeboolReadGets the is hole.
contourList[IntPoint]ReadGets the contour.
child_countintReadGets the child count.
parentOptional["PolyNode"]ReadGets the parent.
polygonList[IntPoint]ReadGets the polygon.
indexintReadGets the index.
childsList["PolyNode"]ReadGets the childs.
is_openboolReadGets the is open.

Methods

SignatureDescription
__init__()
add_child(child: "PolyNode")

See Also