Functions / mouseup
mouseup(fn)
mouseup(function fn)
mouseup( )

Its one of the functions that works with events. For correct work of such functions it is necessary to specify at canvas initialization frames per second - fps: jc.start (idCanvas, fps).
mouseup(function fn)
return: object
The mouseup event is sent to an jCanvaScript object when the mouse pointer is over the object, and the mouse button is released. Fn is the function that runs with this event.
Code
<script type="text/javascript">	
	function onload_1(idCanvas)	
	{	
		jc.start(idCanvas,true);
		var text=jc.text("",10,10);
		jc.circle(100,120,50,'#ff0000',1)
			.mouseup(function(point){
				this.color('#00ff00');
				text.string('x='+point.x+', y='+point.y);
			});
	}
</script>
<canvas id="canvas_1" width="250px" height="265px">
</canvas>
View
mouseup( )
return: object
Code
<script type="text/javascript">	
	function start_2(idCanvas)
	{
		jc('#myCircle_2').mouseup();
	}
	function stop_2(idCanvas)
	{
		jc('#myCircle_2')
			.color('#ff0000');
	}
	function onload_2(idCanvas)	
	{	
		jc.start(idCanvas,true);
		jc.circle(100,120,50,'#ff0000',1)
			.id('myCircle_2')
			.mouseup(function(){
				this.color('#00ff00');
			});
	}
</script>
<canvas id="canvas_2" width="250px" height="265px">
</canvas>
View