FontDescriptor Class
Defines a font used by controls like a ui.Text control.
Properties
bold
Boolean
Indicates if the font-style is bold.
color
ColorDescriptor
The font's color.
italic
Boolean
Indicates if the font-style is italic.
name
String
The font's name.
size
Number
The font's in pixels.
smallCaps
Boolean
Indicates if the font-style is small-caps.