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
| Name | Type | Access | Description |
|---|---|---|---|
total | int | Read | Gets the total. |
all_polys | List[PolyNode] | Read | Gets the all polys. |
is_hole | bool | Read | Gets the is hole. |
contour | List[IntPoint] | Read | Gets the contour. |
child_count | int | Read | Gets the child count. |
parent | Optional["PolyNode"] | Read | Gets the parent. |
polygon | List[IntPoint] | Read | Gets the polygon. |
index | int | Read | Gets the index. |
childs | List["PolyNode"] | Read | Gets the childs. |
is_open | bool | Read | Gets the is open. |
méthodes
| Signature | Description |
|---|---|
__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