Kind: global interface
- TextStyle
- .name :
String - .fontFace :
String - .fontSize :
Number - .fontWeight :
Number - .fontStyle :
String - .fontFamily :
String - .fontStretch :
String - .lineHeight :
Number - .textAlign :
String - .letterSpacing :
Number - .color :
Color - .weightText :
String - .equals(t) ⇒
Boolean
- .name :
Name of the text style in the project context.
Kind: instance property of TextStyle
Complete font name of the text style.
Kind: instance property of TextStyle
Font size of the text style.
Kind: instance property of TextStyle
Font weight of the text style.
Kind: instance property of TextStyle
Font style of the text style, e.g. italic, oblique.
Kind: instance property of TextStyle
Font family of the text style, e.g. Roboto, Arial.
Kind: instance property of TextStyle
Font stretch form of the text style, e.g. condensed, expanded.
Kind: instance property of TextStyle
Minimum height of a line for the text style.
Kind: instance property of TextStyle
Horizontal alignment of the text style, left, right, center, or justify.
Kind: instance property of TextStyle
Letter spacing of the text style.
Kind: instance property of TextStyle
textStyle.color : Color
Color of the text style.
Kind: instance property of TextStyle
Textual representation of the text style's weight, e.g. bold for 700, medium for 500.
Kind: instance property of TextStyle
Checks whether another text style. is equal to this one.
Kind: instance method of TextStyle
| Param | Type | Description |
|---|---|---|
| t | TextStyle |
TextStyle object to be compared. |