PolyTree

PolyTree

概要

PolyTree は Aspose.Page の Python 用 FOSS におけるクラスです。継承元: PolyNode。

このクラスは、Python プログラムで PolyTree オブジェクトを扱うための 4 つのメソッドを提供します。利用可能なメソッドは、__init__、add_child、clear、get_first です。Aspose.Page FOSS for Python パッケージをインストールすれば、すべてのパブリックメンバーは任意の Python アプリケーションからアクセス可能です。プロパティ: all_polys、child_count、childs、contour、index、is_hole、およびその他 4 つ。

プロパティ

名前型アクセス説明
totalint読み取り合計を取得します。
all_polysList[PolyNode]読み取りすべての polys を取得します。
is_holebool読み取りis hole を取得します。
contourList[IntPoint]読み取り輪郭を取得します。
child_countint読み取り子の数を取得します。
parentOptional["PolyNode"]読み取り親を取得します。
polygonList[IntPoint]読み取りポリゴンを取得します。
indexint読み取りインデックスを取得します。
childsList["PolyNode"]読み取り子要素を取得します。
is_openbool読み取りIsOpen を取得します。

メソッド

シグネチャ説明
__init__()
clear()
get_first() → Optional[PolyNode]最初のものを返します。
add_child(child: "PolyNode")

参照

 日本語