How to manipulate Canvas elements: Difference between revisions

Jump to navigation Jump to search
Line 54: Line 54:


=== dashedLine ===
=== dashedLine ===
  '''Parameters:''' (group, from, length, color)
  '''Parameters:''' (group, from, to, dash=8, color="#0")
Plots a vertical line as <'''group'''>'s child.
Plots a vertical line as <'''group'''>'s child.
* '''from''' as [x,y] in pixels.
* '''from''' as [x,y] in pixels.
Line 77: Line 77:
|}
|}
<hr/>
<hr/>
=== rectangle ===
=== rectangle ===
  '''Parameters:''' (group, size ,origin=nil, color="#0", fill=nil, rounded=nil)
  '''Parameters:''' (group, size ,origin=nil, color="#0", fill=nil, rounded=nil)
229

edits

Navigation menu