Canvas Nasal API: Difference between revisions

Jump to navigation Jump to search
Line 488: Line 488:


=== setData ===
=== setData ===
'''Parameters:''' (cmds, points)
Re-sets the data structure for a plot. <b>cmds</b> is an array containing the draw commands (integers, but they can be referenced via canvas.Path.VG_LINE_TO or canvas.Path.VG_MOVE_TO etc.) and points an array containing the associated points to which the curve is to be drawn in the form [x1, y1, x2, y2,...].
=== setDataGeo ===
=== setDataGeo ===
=== addSegment ===
=== addSegment ===
1,360

edits

Navigation menu