Hierarchy

  • PBUiText

Properties

color?: PBColor4

RGBA color (default: opaque white)

font?: Font

font for the text (default: sans-serif)

fontSize?: number

size of the text (default: 10)

textAlign?: TextAlignMode

alignment within the bounds (default: center)

textWrap?: TextWrap

wrap text when the border is reached (default: TW_WRAP)

value: string

the text content, tag and are supported