name
name: (TextStyle) -> stringThe constant's name as declared.
TextStyle.valueOf(…)
TextStyle.FULL
TextStyle.FULL_STANDALONE| Method | Returns | Description |
|---|---|---|
name() | string | The constant's name as declared. |
ordinal() | number | The constant's 0-based position in values(). |
toString() | string | The constant's printed name; tostring(c) answers the same. |
compareTo(TextStyle) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
isStandalone() | boolean | Whether this is a stand-alone style. |
asStandalone() | TextStyle | The stand-alone style of the same size. |
asNormal() | TextStyle | The normal style of the same size. |
values() | {TextStyle} | Every constant in ordinal order, as a new 1-based array. |
valueOf(string) | TextStyle | The constant named name; any other name is an error. |
| Method | Returns | Description |
|---|---|---|
TextStyleClass.valueOf | TextStyle | The constant named name; any other name is an error. |
TextStyleClass.values | {TextStyle} | Every constant in ordinal order, as a new 1-based array. |
namename: (TextStyle) -> stringThe constant's name as declared.
ordinalordinal: (TextStyle) -> numberThe constant's 0-based position in values().
toStringtoString: (TextStyle) -> stringThe constant's printed name; tostring(c) answers the same.
compareTocompareTo: (TextStyle, TextStyle) -> numberThis ordinal less other's.
equalsequals: (TextStyle, any) -> booleanWhether other is this constant. == answers the same.
isStandaloneisStandalone: (TextStyle) -> booleanWhether this is a stand-alone style.
asStandaloneasStandalone: (TextStyle) -> TextStyleThe stand-alone style of the same size.
asNormalasNormal: (TextStyle) -> TextStyleThe normal style of the same size.
valuesvalues: () -> {TextStyle}Every constant in ordinal order, as a new 1-based array.
valueOfvalueOf: (string) -> TextStyleThe constant named name; any other name is an error.