Skip to content
pixi-silk
GitHub repository
Interface

TextLabel

import type { TextLabel } from 'pixi-silk/ui/pill';

A text display object a widget can own: PixiJS Text, SilkText, or anything with these members.

Extends#

  • Container

Properties#

PropertyModifierTypeDescriptionDefined in
anchorreadonly{ set: void; }Point of the text at its position, 0 to 1 on each axis.ui/label.ts:8
anchor.setpublicvoid-ui/label.ts:8
textpublicstringThe text shown.ui/label.ts:6