Skip to content

Latest commit

 

History

History
101 lines (72 loc) · 3.59 KB

File metadata and controls

101 lines (72 loc) · 3.59 KB

TextStyle

Kind: global interface

textStyle.name : String

Name of the text style in the project context.

Kind: instance property of TextStyle

textStyle.fontFace : String

Complete font name of the text style.

Kind: instance property of TextStyle

textStyle.fontSize : Number

Font size of the text style.

Kind: instance property of TextStyle

textStyle.fontWeight : Number

Font weight of the text style.

Kind: instance property of TextStyle

textStyle.fontStyle : String

Font style of the text style, e.g. italic, oblique.

Kind: instance property of TextStyle

textStyle.fontFamily : String

Font family of the text style, e.g. Roboto, Arial.

Kind: instance property of TextStyle

textStyle.fontStretch : String

Font stretch form of the text style, e.g. condensed, expanded.

Kind: instance property of TextStyle

textStyle.lineHeight : Number

Minimum height of a line for the text style.

Kind: instance property of TextStyle

textStyle.textAlign : String

Horizontal alignment of the text style, left, right, center, or justify.

Kind: instance property of TextStyle

textStyle.letterSpacing : Number

Letter spacing of the text style.

Kind: instance property of TextStyle

textStyle.color : Color

Color of the text style.

Kind: instance property of TextStyle

textStyle.weightText : String

Textual representation of the text style's weight, e.g. bold for 700, medium for 500.

Kind: instance property of TextStyle

textStyle.equals(t) ⇒ Boolean

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.