PolyTree

Vue de l’ensemble

‘PolyTree’ est une classe dans Aspose.Page FOSS pour Python.Déduit de: ‘Polynode’.

Cette classe fournit 4 méthodes pour travailler avec des objets PolyTree dans les programmes Python. Les méthodologies disponibles comprennent: __init__, add_child , ‘clearetget_first. Tous les membres publics sont accessibles à n'importe quelle application Pythone après l'installation de la page Aspose.Page FOSS pour le pack Pyathon. Propriétés : all_polys;chind_count; Childs : Contour .

Propriétés

NameTypeAccessDescription
totalintReadGets the total.
all_polysList[PolyNode]ReadGets the all polys.
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.

méthodes

SignatureDescription
__init__()
clear()
get_first()Optional[PolyNode]Returns the first.
add_child(child: "PolyNode")

Voir aussi

  • Aspose.Page pour Python — API d’entreprise référence
 Français