Functions / imageData getData
getData(x, y, width, height)
getData(float x, float y, float width, float height)

getData(float x, float y, float width, float height)
return: object
Code
<script type="text/javascript">
	function start_1(idCanvas)
	{
		jc('#myImageData_1')
			.getData(140,0,100,120);
	}
	function stop_1(idCanvas)
	{
		jc('#myImageData_1')
			.getData(0,0,100,100);
	}
	function onload_1(idCanvas)
	{
		jc.start(idCanvas,true);
		jc.circle(50,50,45,'#ff0000',1);
		jc.rect(150,50,45,60,'#00ff00',1);
		jc.imageData(100,100)
			.id('myImageData_1')
			.getData(0,0,100,100)
			.putData(0,120);
	}
</script>
<canvas id="canvas_1" width="250px" height="265px"></canvas>
View