Functions / imageData putData
putData(x, y)
putData(float x, float y)

putData(float x, float y)
return: object
Code
<script type="text/javascript">
	function start_1(idCanvas)
	{
		jc('#myImageData_1')
			.putData(20,20);
		
	}
	function onload_1(idCanvas)
	{
		jc.start(idCanvas,true);
		var imgData=jc.imageData(100,100)
			.id('myImageData_1');
		for(var i=0;i<100;i++)
		for(var j=0;j<100;j++)
			imgData.setPixel(i,j,'#000000');
		imgData.putData(100,100);
	}
	function stop_1(idCanvas)
	{
		jc.clear(idCanvas);
		onload_1('canvas_1');
	}
</script>
<canvas id="canvas_1" width="250px" height="265px"></canvas>
View