Class: Text

Text

Multiline text

Constructor

new Text(font, lineHeight, color) → {Text}

Parameters:
Name Type Description
font string
lineHeight number
color string
Source:
Returns:
Type
Text

Methods

resize(x, y, w, h)

Resizes the text field
Parameters:
Name Type Description
x number
y number
w number
h number
Source:

setText()

Sets new text
Source: