PolyNode
概要
PolyNode は Aspose.Page の FOSS における Python 用のクラスです。
このクラスは、Python プログラムにおける PolyNode オブジェクトを扱うための 2 つのメソッドを提供します。利用可能なメソッドは次のとおりです: __init__, add_child。すべてのパブリックメンバーは、Aspose.Page の Python 用 FOSS パッケージをインストールした後、任意の Python アプリケーションからアクセス可能です。プロパティ: child_count, childs, contour, index, is_hole, is_open, および 2 つの追加項目。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
is_hole | bool | 読み取り | ホールかどうかを取得します。 |
contour | List[IntPoint] | 読み取り | 輪郭を取得します。 |
child_count | int | 読み取り | 子の数を取得します。 |
parent | Optional["PolyNode"] | 読み取り | 親を取得します。 |
polygon | List[IntPoint] | 読み取り | ポリゴンを取得します。 |
index | int | 読み取り | インデックスを取得します。 |
childs | List["PolyNode"] | 読み取り | 子要素を取得します。 |
is_open | bool | 読み取り | is open を取得します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
__init__() | |
add_child(child: "PolyNode") |