Interface: TextOptions
Extended by
Properties
fontColor?
optional
fontColor:RgbaColor
Color of text. Default is Constants.DEFAULT_FONT_COLOR (WebColors.Black)
Source
fontName?
optional
fontName:string
Name of font to use for text. Must have been previously loaded
Source
fontSize?
optional
fontSize:number
Size of text. Default is Constants.DEFAULT_FONT_SIZE (16)
Source
interpolation?
optional
interpolation:StringInterpolationMap
Map of placeholders to values for use in string interpolation during localization.
Source
localize?
optional
localize:boolean
If true, try to use a localized version of the text. Default is true.
Source
text?
optional
text:string
Text to be displayed