229
edits
(→text) |
|||
Line 105: | Line 105: | ||
|}<hr/> | |}<hr/> | ||
=== text === | === text === | ||
'''parameters''': (group, text, size | '''parameters''': (group, text, origin=nil, size=nil, color="#0", align="left-baseline") | ||
Plots a text as <'''group'''>'s child. | Plots a text as <'''group'''>'s child. | ||
* '''text''' the text itself as string. | * '''text''' the text itself as string. | ||
* '''origin''' optional as [x,y] in pixels, [0,0] by default. | * '''origin''' optional as [x,y] in pixels, [0,0] by default. | ||
* '''size''' optional font size and aspect as [<size-px>,<height/width>]. [11,1] by default. | |||
* '''color''' optional font color as [r,g,b] or "#rrggbb". Black by default. | * '''color''' optional font color as [r,g,b] or "#rrggbb". Black by default. | ||
* '''align''' optional origin reference. "left-baseline" by default. | * '''align''' optional origin reference. "left-baseline" by default. | ||
<hr/> | <hr/> | ||
=== polyline === | === polyline === | ||
'''parameters''': (group, xSet, ySet, color="#0", symmetrical=' ') | '''parameters''': (group, xSet, ySet, color="#0", symmetrical=' ') |
edits