Constructor
new module:Text(positionDefinition, textopt, optionsopt)
Text constructor
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
positionDefinition | PositionDefinition | Top most point of the line start (depend on align option) | ||
text | String | <optional> | "" | Text to display |
options | TextOptions | <optional> | Drawing options |
- Source