Functions / points
points(points)
points( )
points(array points)

points( )
return: array of points

points(array points)
return: object
Set array of points to the .line(), .qCurve() or .bCurve() jCanvaScript object.
Code
<script type="text/javascript">
var points=[[10,50,35,12],
				[120,90,124,55],
				[200,250,542,67],
				[105,15,15,105]];
	function start_2(idCanvas)
	{
		jc('#qCurve_2')
			.points(points);
	}
	function stop_2(idCanvas)
	{
		jc.clear(idCanvas);
		onload_2(idCanvas);
	}
	function onload_2(idCanvas)
	{
		jc.start(idCanvas,true);
		jc.qCurve()
			.id('qCurve_2')
	}
</script>
<canvas id="canvas_2" width="250px" height="265px">
</canvas>
View