Skip to content

UIText

Defined in: ui/src/UIText.ts:29

Lightweight wrapper around a PixiJS Text for use in UI panels.

new UIText(props): UIText

Defined in: ui/src/UIText.ts:43

UITextProps

UIText

readonly displayObject: Container

Defined in: ui/src/UIText.ts:30

UIElement.displayObject


readonly yogaNode: Node

Defined in: ui/src/UIText.ts:31

UIElement.yogaNode

get visible(): boolean

Defined in: ui/src/UIText.ts:132

boolean

set visible(v): void

Defined in: ui/src/UIText.ts:136

boolean

void

UIElement.visible

destroy(): void

Defined in: ui/src/UIText.ts:188

void

UIElement.destroy


setStyle(s): void

Defined in: ui/src/UIText.ts:126

Partial<TextStyleOptions>

void


setText(s?): void

Defined in: ui/src/UIText.ts:120

string

void


update(p): void

Defined in: ui/src/UIText.ts:141

Partial<UITextProps>

void

UIElement.update