Render2DTextOptions
Defined in: client/api.d.ts:240
Native text-region options.
Extends
Section titled “Extends”Properties
Section titled “Properties”clipping?
Section titled “clipping?”
optionalclipping?:boolean
Defined in: client/api.d.ts:204
Whether clipping is enabled.
Inherited from
Section titled “Inherited from”clipRect?
Section titled “clipRect?”
optionalclipRect?:Render2DRect
Defined in: client/api.d.ts:209
Normalized clipping rectangle.
Inherited from
Section titled “Inherited from”color?
Section titled “color?”
optionalcolor?:Color
Defined in: client/api.d.ts:249
Normalized RGBA text color.
optionalfont?:string
Defined in: client/api.d.ts:254
Native font hash name.
fontHeight?
Section titled “fontHeight?”
optionalfontHeight?:number
Defined in: client/api.d.ts:259
Normalized font height.
fontScale?
Section titled “fontScale?”
optionalfontScale?:number
Defined in: client/api.d.ts:264
Font scale multiplier.
horizontalAlign?
Section titled “horizontalAlign?”
optionalhorizontalAlign?:"left"|"center"|"right"
Defined in: client/api.d.ts:284
Horizontal alignment.
kerning?
Section titled “kerning?”
optionalkerning?:boolean
Defined in: client/api.d.ts:279
Whether kerning is enabled.
nonOverlapGroup?
Section titled “nonOverlapGroup?”
optionalnonOverlapGroup?:number
Defined in: client/api.d.ts:224
Native non-overlap group.
Inherited from
Section titled “Inherited from”Render2DNodeOptions.nonOverlapGroup
offset?
Section titled “offset?”
optionaloffset?:Vector2
Defined in: client/api.d.ts:269
Text cursor offset.
parent?
Section titled “parent?”
optionalparent?:Render2DContainer|null
Defined in: client/api.d.ts:184
Optional container parent; null or omitted means the canvas root.
Inherited from
Section titled “Inherited from”pixelClipping?
Section titled “pixelClipping?”
optionalpixelClipping?:boolean
Defined in: client/api.d.ts:214
Whether pixel clipping is enabled.
Inherited from
Section titled “Inherited from”Render2DNodeOptions.pixelClipping
position?
Section titled “position?”
optionalposition?:Vector2
Defined in: client/api.d.ts:189
Normalized position local to the parent.
Inherited from
Section titled “Inherited from”
optionalsize?:Vector2
Defined in: client/api.d.ts:194
Normalized size.
Inherited from
Section titled “Inherited from”text:
string
Defined in: client/api.d.ts:244
Initial text.
useAllMonitors?
Section titled “useAllMonitors?”
optionaluseAllMonitors?:boolean
Defined in: client/api.d.ts:219
Whether the node spans all monitors.
Inherited from
Section titled “Inherited from”Render2DNodeOptions.useAllMonitors
verticalAlign?
Section titled “verticalAlign?”
optionalverticalAlign?:"center"|"top"|"bottom"
Defined in: client/api.d.ts:289
Vertical alignment.
visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: client/api.d.ts:199
Initial visibility.
Inherited from
Section titled “Inherited from”widthLimit?
Section titled “widthLimit?”
optionalwidthLimit?:number
Defined in: client/api.d.ts:274
Optional normalized width limit.
