Skip to content

UIText

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

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

new UIText(props): UIText

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

UITextProps

UIText

readonly displayObject: Container

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

UIElement.displayObject


readonly yogaNode: Node

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

UIElement.yogaNode

get visible(): boolean

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

boolean

set visible(v): void

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

boolean

void

UIElement.visible

destroy(): void

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

void

UIElement.destroy


setStyle(s): void

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

Partial<TextStyleOptions>

void


setText(s?): void

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

string

void


update(props): void

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

Record<string, unknown>

void

UIElement.update