Functions / visible
visible([visibility])
visible( )
visible(bool visibility)

visible( )
return: [bool] visibility of object
Code
<script type="text/javascript">	
	function start_1(idCanvas)	
	{	
		alert(jc('#visibleCircle_1').visible());
	}
	function stop_1(idCanvas)
	{
		alert(jc('#unvisibleCircle_1').visible());
	}	
	function onload_1(idCanvas)
	{
		jc.start(idCanvas);
		jc.circle(100,120,50,true)
			.visible(false)
			.id('unvisibleCircle_1');
		jc.circle(125,120,50,true)
			.visible(true)
			.id('visibleCircle_1');
		jc.start(idCanvas);
	}
</script>
<canvas id="canvas_1" width="250px" height="265px"></canvas>
View
visible(bool visibility)
return: object
Code
<script type="text/javascript">	
	function start_2(idCanvas)	
	{	
		jc('#myCircle_2').visible(true);
	}
	function stop_2(idCanvas)
	{
		jc('#myCircle_2').visible(false);
	}	
	function onload_2(idCanvas)
	{
		jc.start(idCanvas,true);
		jc.circle(100,120,50,true)
			.id('myCircle_2');
	}
</script>
<canvas id="canvas_2" width="250px" height="265px"></canvas>
View