Skip to content
pixi-silk
GitHub repository
Function

panelText

import { panelText } from 'pixi-silk/ui/panel';
function panelText(theme: PanelTheme, options?: PanelTextOptions): SilkText;

A new SilkText label in the theme’s font, size and text colour.

Parameters#

ParameterType
themePanelTheme
optionsPanelTextOptions

Returns#

SilkText