Functions / canvas frame
frame
frame( )

Function to redraw canvas.
frame( )
return: jCanvaScript canvas
Code
<script type="text/javascript">	
	function onload_1(idCanvas)	
	{	
		var canvas=jc.canvas(idCanvas).start();
		jc.circle(100,120,50);		
		canvas.frame();
	}
</script>
<canvas id="canvas_1" width="250px" height="265px">
</canvas>
View