GlyphOutlineStats
概要
GlyphOutlineStats は Aspose.Font の FOSS における Python 用のクラスです。
GlyphOutlineStats.to_dict はアウトライン統計の辞書表現を返します。
このクラスは Python プログラム内の GlyphOutlineStats オブジェクトを操作するための 1 つのメソッドを提供します。利用可能なメソッドは次のとおりです: to_dict。Aspose.Font の Python 用 FOSS パッケージをインストールした後、すべての公開メンバーは任意の Python アプリケーションからアクセス可能です。プロパティ: advance_width, bbox, closed_contour_count, command_count, contour_count, control_point_count, およびその他 7 件。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
command_count | int | 読み取り | コマンド数を取得します。 |
point_count | int | 読み取り | ポイント数を取得します。 |
contour_count | int | 読み取り | 輪郭の数を取得します。 |
advance_width | int | 読み取り | 前進幅を取得します。 |
line_count | int | 読み取り | 行数を取得します。 |
quadratic_count | int | 読み取り | 二次カウントを取得します。 |
cubic_count | int | 読み取り | キュービック数を取得します。 |
control_point_count | int | 読み取り | 制御点の数を取得します。 |
closed_contour_count | int | 読み取り | 閉じた輪郭の数を取得します。 |
open_contour_count | int | 読み取り | オープン輪郭の数を取得します。 |
start_point | `tuple[float, float] | None` | 読み取り |
end_point | `tuple[float, float] | None` | 読み取り |
bbox | `tuple[float, float, float, float] | None` | 読み取り |
メソッド
| シグネチャ | 説明 |
|---|---|
to_dict() → dict[str, object] | アウトライン統計の辞書表現を返します |