Name | Type | Default | Description |
---|---|---|---|
font | string | null | optional |
size | number | null | optional |
color | number | null | optional |
bold | boolean | null | optional |
italic | boolean | null | optional |
underline | boolean | null | optional |
align | string | null | optional |
left_margin | number | null | optional |
right_margin | number | null | optional |
indent | number | null | optional |
leading | number | null | optional |
block_indent | number | null | optional |
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.text.TextFormat
段落の行揃えの設定を示します。
Indicates the alignment of the paragraph.- Default Value:
- null
ブロックのインデントをピクセル単位で示します。
Indicates the block indentation in pixels.- Default Value:
- null
テキストをボールドにするかどうかを指定します。
Specifies whether the text is boldface.- Default Value:
- null
テキストの色を示します。
Indicates the color of the text.- Default Value:
- null
このテキストフォーマットでのテキストフォント名を示すストリングです。
The name of the font for text in this text format, as a string.- Default Value:
- null
左インデントから段落の先頭文字までのインデントを示します。
Indicates the indentation from the left margin
to the first character in the paragraph.- Default Value:
- null
このテキストフォーマットのテキストをイタリックにするかどうかを示します。
Indicates whether text in this text format is italicized.- Default Value:
- null
行間の垂直の行送りを示す整数です。
An integer representing the amount
of vertical space (called leading) between lines.- Default Value:
- null
段落の左インデントをピクセル単位で示します。
The left margin of the paragraph, in pixels.- Default Value:
- null
すべての文字の間に均等に配分されるスペースの量を表す数値です。
A object representing the amount
of space that is uniformly distributed between all characters.- Default Value:
- 0
指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.text.TextFormat
段落の右インデントをピクセル単位で示します。
The right margin of the paragraph, in pixels.- Default Value:
- null
このテキストフォーマットのテキストのサイズ(ピクセル単位)です。
The size in pixels of text in this text format.- Default Value:
- null
このテキストフォーマットを使用するテキストに
アンダーラインを表示する(true)か、表示しない(false)かを示します。
Indicates whether the text that uses this text format
is underlined (true) or not (false).- Default Value:
- null
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class TextFormat]
Returns:
Type Description string 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object TextFormat]
Returns:
Type Description string