new module:MultiLineText(x, y, w, h, text, size, coloropt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
x |
number | horizontal position in SVG pixels |
||
y |
number | vertical position in SVG pixels |
||
w |
number | width of the text box in SVG pixels |
||
h |
number | height of the text box in SVG pixels |
||
text |
number | text content of the text box |
||
size |
string | CSS font size of the text |
||
color |
String |
<optional> |
"black" | color of the text |
Extends
- Tag