Render2DTextOptions
Defined in: client/api.d.ts:234
Native text-region options.
Extends
Section titled “Extends”Properties
Section titled “Properties”clipping
Section titled “clipping”clipping:
boolean|null
Defined in: client/api.d.ts:198
Whether clipping is enabled.
Inherited from
Section titled “Inherited from”clipRect
Section titled “clipRect”clipRect:
Render2DRect|null
Defined in: client/api.d.ts:203
Normalized clipping rectangle.
Inherited from
Section titled “Inherited from”color:
Color|null
Defined in: client/api.d.ts:243
Normalized RGBA text color.
font:
string|null
Defined in: client/api.d.ts:248
Native font hash name.
fontHeight
Section titled “fontHeight”fontHeight:
number|null
Defined in: client/api.d.ts:258
Normalized font height.
fontScale
Section titled “fontScale”fontScale:
number|null
Defined in: client/api.d.ts:263
Font scale multiplier.
fontStyle
Section titled “fontStyle”fontStyle:
"bold"|"normal"|"italic"|"boldItalic"|null
Defined in: client/api.d.ts:253
Native font variant.
horizontalAlign
Section titled “horizontalAlign”horizontalAlign:
"left"|"center"|"right"|null
Defined in: client/api.d.ts:283
Horizontal alignment.
kerning
Section titled “kerning”kerning:
boolean|null
Defined in: client/api.d.ts:278
Whether kerning is enabled.
nonOverlapGroup
Section titled “nonOverlapGroup”nonOverlapGroup:
number|null
Defined in: client/api.d.ts:218
Native non-overlap group.
Inherited from
Section titled “Inherited from”Render2DNodeOptions.nonOverlapGroup
offset
Section titled “offset”offset:
Vector2|null
Defined in: client/api.d.ts:268
Text cursor offset.
parent
Section titled “parent”parent:
Render2DContainer|null
Defined in: client/api.d.ts:178
Optional container parent; defaults to the canvas root.
Inherited from
Section titled “Inherited from”pixelClipping
Section titled “pixelClipping”pixelClipping:
boolean|null
Defined in: client/api.d.ts:208
Whether pixel clipping is enabled.
Inherited from
Section titled “Inherited from”Render2DNodeOptions.pixelClipping
position
Section titled “position”position:
Vector2|null
Defined in: client/api.d.ts:183
Normalized position local to the parent.
Inherited from
Section titled “Inherited from”size:
Vector2|null
Defined in: client/api.d.ts:188
Normalized size.
Inherited from
Section titled “Inherited from”text:
string
Defined in: client/api.d.ts:238
Initial text.
useAllMonitors
Section titled “useAllMonitors”useAllMonitors:
boolean|null
Defined in: client/api.d.ts:213
Whether the node spans all monitors.
Inherited from
Section titled “Inherited from”Render2DNodeOptions.useAllMonitors
verticalAlign
Section titled “verticalAlign”verticalAlign:
"center"|"top"|"bottom"|null
Defined in: client/api.d.ts:288
Vertical alignment.
visible
Section titled “visible”visible:
boolean|null
Defined in: client/api.d.ts:193
Initial visibility.
Inherited from
Section titled “Inherited from”widthLimit
Section titled “widthLimit”widthLimit:
number|null
Defined in: client/api.d.ts:273
Optional normalized width limit.
