TextAppearance クラス

テキスト行の外観を表す オブジェクト。

バージョン v2.1 の新機能: to_dict メソッドと from_dict メソッドのサポート

継承
builtins.object
TextAppearance

コンストラクター

TextAppearance(**kwargs: Any)

メソッド

from_dict

TextAppearance の図形のディクテーションをモデル自体に変換します。

to_dict

TextAppearance の dict 表現を返します。

from_dict

TextAppearance の図形のディクテーションをモデル自体に変換します。

from_dict(data: Dict) -> TextAppearance

パラメーター

data
dict
必須

TextAppearance の形のディクショナリ。

戻り値

TextAppearance

の戻り値の型 :

to_dict

TextAppearance の dict 表現を返します。

to_dict() -> Dict

戻り値

dict

の戻り値の型 :

属性

style_confidence

テキストの線のスタイルの信頼度。

style_confidence: float

style_name

テキスト行のスタイル名。 使用可能な値は、"other"、"handwriting" です。

style_name: str