new Terminal2(p_terminal_id, p_init)
Parameters:
| Name | Type | Description |
|---|---|---|
p_terminal_id |
String | The identifier of the canvas element where the lines are to be printed. |
p_init |
JSON | A JSON object that contains initial values for the terminal
(i.e. canvas):
width, height,
fontFamily, fontSize,
fontWeight, lineHeight,
marginTop, marginLeft. |
- Source:
Methods
-
println(arguments)
-
Prints a line on the terminal.
Parameters:
Name Type Description argumentsString[] The strings to be printed. - Source: