Class: TextFormatAlign

TextFormatAlign

TextFormatAlign クラスは、TextFormat クラスのテキストの行揃えの値を提供します。
The TextFormatAlign class provides values for text alignment in the TextFormat class.

new next2d.text.TextFormatAlign ()

Members

next2d.text.TextFormatAlign.CENTER staticconstant

テキストをテキストフィールドの中央に配置します。
centers the text in the text field.

Default Value:
  • center

next2d.text.TextFormatAlign.LEFT staticconstant

テキストをテキストフィールド内で左に行揃えします。
aligns text to the left within the text field.

Default Value:
  • left

next2d.text.TextFormatAlign.namespace staticconstant

指定されたクラスの空間名を返します。
Returns the space name of the specified class.

Default Value:
  • next2d.text.TextFormatAlign

next2d.text.TextFormatAlign.RIGHT staticconstant

テキストをテキストフィールド内で右に行揃えします。
aligns text to the right within the text field.

Default Value:
  • right

namespace constant

指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.

Default Value:
  • next2d.text.TextFormatAlign

Methods

next2d.text.TextFormatAlign.toString ()string static

指定されたクラスのストリングを返します。
Returns the string representation of the specified class.

Default Value:
  • [class TextFormatAlign]
Returns:
TypeDescription
string

toString ()string

指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.

Default Value:
  • [object TextFormatAlign]
Returns:
TypeDescription
string