Interface: TextOptions
Extended by
Properties
fontColor?
optionalfontColor:RgbaColor
Color of text. Default is Constants.DEFAULT_FONT_COLOR (WebColors.Black)
Defined in
m2c2kit/packages/core/src/TextOptions.ts:10
fontName?
optionalfontName:string
Name of font to use for text. Must have been previously loaded
Defined in
m2c2kit/packages/core/src/TextOptions.ts:8
fontSize?
optionalfontSize:number
Size of text. Default is Constants.DEFAULT_FONT_SIZE (16)
Defined in
m2c2kit/packages/core/src/TextOptions.ts:12
interpolation?
optionalinterpolation:StringInterpolationMap
Map of placeholders to values for use in string interpolation during localization.
Defined in
m2c2kit/packages/core/src/TextOptions.ts:14
localize?
optionallocalize:boolean
If true, try to use a localized version of the text. Default is true.
Defined in
m2c2kit/packages/core/src/TextOptions.ts:16
text?
optionaltext:string
Text to be displayed
Defined in
m2c2kit/packages/core/src/TextOptions.ts:6