Class: TextFieldAutoSize

TextFieldAutoSize

TextFieldAutoSize クラスは、TextField クラスの autoSize プロパティの設定で使用される定数値の列挙です。
TThe TextFieldAutoSize class is an enumeration of constant values used in setting the autoSize property of the TextField class.

new next2d.text.TextFieldAutoSize ()

Members

next2d.text.TextFieldAutoSize.CENTER staticconstant

テキストが中央揃えテキストとして扱われることを指定します。
Specifies that the text is to be treated as center-justified text.

Default Value:
  • center

next2d.text.TextFieldAutoSize.LEFT staticconstant

テキストが左揃えテキストとして扱われることを指定します。つまり、テキストフィールドの
左側が固定され、テキストフィールドの単一行の右側のみが伸縮します。
Specifies that the text is to be treated as left-justified text, meaning
that the left side of the text field remains fixed and any resizing
of a single line is on the right side.

Default Value:
  • left

next2d.text.TextFieldAutoSize.namespace staticconstant

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

Default Value:
  • next2d.text.TextFieldAutoSize

next2d.text.TextFieldAutoSize.NONE staticconstant

サイズ変更が発生しないことを指定します。
Specifies that no resizing is to occur.

Default Value:
  • none

next2d.text.TextFieldAutoSize.RIGHT staticconstant

テキストが右揃えテキストとして扱われることを指定します。つまり、テキストフィールドの
右側が固定され、テキストフィールドの単一行の左側のみが伸縮します。
Specifies that the text is to be treated as right-justified text,
meaning that the right side of the text field remains fixed
and any resizing of a single line is on the left side.

Default Value:
  • right

namespace constant

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

Default Value:
  • next2d.text.TextFieldAutoSize

Methods

next2d.text.TextFieldAutoSize.toString ()string static

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

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

toString ()string

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

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