Class: Label

SG2D.Label(text, options) → {SG2D.Label}

Графическая надпись

Constructor

new Label(text, options) → {SG2D.Label}

Parameters:
Name Type Description
text string
options object
Properties
Name Type Attributes Default Description
x object <optional>
0
y object <optional>
0
scale object <optional>
1
Source:
Returns:
Type
SG2D.Label

Methods

setText(text)

Установить текст в надписи

Parameters:
Name Type Description
text string
Source: