Constructor
new Text(id, text, x, y, optionsopt)
- Description:
Instantiate a Text object
- Source:
- See:
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
number | ID of the text object |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
text |
string | Text to display |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
x |
number | X position to draw the text |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
y |
number | Y position to draw the text |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
options |
object |
<optional> |
Additional configuration options. Properties
|
Extends
- DisplayWidget