TextInit
Defined in: ui/core/compose.ts:133
Extends
Section titled “Extends”Partial<TextData>
Properties
Section titled “Properties”align?
Section titled “align?”
optionalalign?:TextAlign
Defined in: ui/core/text.ts:51
Inherited from
Section titled “Inherited from”
optionalbold?:boolean
Defined in: ui/core/text.ts:56
Inherited from
Section titled “Inherited from”color?
Section titled “color?”
optionalcolor?:Color
Defined in: ui/core/text.ts:50
Inherited from
Section titled “Inherited from”content?
Section titled “content?”
optionalcontent?:string
Defined in: ui/core/text.ts:39
Inherited from
Section titled “Inherited from”enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: ui/core/text.ts:67
Render toggle — the editor’s eye and runtime hiding both flip this.
Inherited from
Section titled “Inherited from”fontFamily?
Section titled “fontFamily?”
optionalfontFamily?:string
Defined in: ui/core/text.ts:48
Inherited from
Section titled “Inherited from”fontSize?
Section titled “fontSize?”
optionalfontSize?:number
Defined in: ui/core/text.ts:49
Inherited from
Section titled “Inherited from”i18nKey?
Section titled “i18nKey?”
optionali18nKey?:string
Defined in: ui/core/text.ts:47
Localization key. Non-empty ⇒ content is DERIVED: every frame the
text-localization system resolves the key through the app’s Localization
resource (opt-in plugin) and writes the result into content, so a
setLocale re-flows every bound label. Empty (default) or no
Localization resource ⇒ content stands as authored.
Inherited from
Section titled “Inherited from”italic?
Section titled “italic?”
optionalitalic?:boolean
Defined in: ui/core/text.ts:57
Inherited from
Section titled “Inherited from”lineHeight?
Section titled “lineHeight?”
optionallineHeight?:number
Defined in: ui/core/text.ts:55
Inherited from
Section titled “Inherited from”overflow?
Section titled “overflow?”
optionaloverflow?:TextOverflow
Defined in: ui/core/text.ts:54
Inherited from
Section titled “Inherited from”renderMode?
Section titled “renderMode?”
optionalrenderMode?:TextRenderMode
Defined in: ui/core/text.ts:65
Inherited from
Section titled “Inherited from”richText?
Section titled “richText?”
optionalrichText?:boolean
Defined in: ui/core/text.ts:64
Inherited from
Section titled “Inherited from”shadowBlur?
Section titled “shadowBlur?”
optionalshadowBlur?:number
Defined in: ui/core/text.ts:61
Inherited from
Section titled “Inherited from”shadowColor?
Section titled “shadowColor?”
optionalshadowColor?:Color
Defined in: ui/core/text.ts:60
Inherited from
Section titled “Inherited from”shadowOffsetX?
Section titled “shadowOffsetX?”
optionalshadowOffsetX?:number
Defined in: ui/core/text.ts:62
Inherited from
Section titled “Inherited from”shadowOffsetY?
Section titled “shadowOffsetY?”
optionalshadowOffsetY?:number
Defined in: ui/core/text.ts:63
Inherited from
Section titled “Inherited from”strokeColor?
Section titled “strokeColor?”
optionalstrokeColor?:Color
Defined in: ui/core/text.ts:58
Inherited from
Section titled “Inherited from”strokeWidth?
Section titled “strokeWidth?”
optionalstrokeWidth?:number
Defined in: ui/core/text.ts:59
Inherited from
Section titled “Inherited from”verticalAlign?
Section titled “verticalAlign?”
optionalverticalAlign?:TextVerticalAlign
Defined in: ui/core/text.ts:52
Inherited from
Section titled “Inherited from”wordWrap?
Section titled “wordWrap?”
optionalwordWrap?:boolean
Defined in: ui/core/text.ts:53