PolyNode
PolyNode
Overview
PolyNode adalah kelas di Aspose.Page FOSS untuk Python.
Kelas ini menyediakan 2 metode untuk bekerja dengan PolyNode objek dalam program Python. Metode yang tersedia meliputi: __init__, add_child. Semua anggota publik dapat diakses oleh aplikasi Python apa pun setelah menginstal paket FOSS for Python. Sifatnya: child_count, childs, contour, index, is_hole, is_open, dan 2 lagi.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
is_hole | bool | Read | Dapatkan lubang. |
contour | List[IntPoint] | Read | Dapatkan kontur. |
child_count | int | Read | Menghitung anak. |
parent | Optional["PolyNode"] | Read | Mendapatkan orang tua. |
polygon | List[IntPoint] | Read | Dapatkan poligon. |
index | int | Read | Dapatkan indeks. |
childs | List["PolyNode"] | Read | Mendapatkan anak-anak. |
is_open | bool | Read | Dapatkan itu terbuka. |
Methods
| Signature | Description |
|---|---|
__init__() | |
add_child(child: "PolyNode") |