mardi 16 octobre 2012

Circle

- Circle(radius,x,y)


Draw a Circle. 

- x : the x-coordinate of the circle.
- y : the y-coordinate of the circle. 
- radius : the radius of the circle.

Example: 

this.setup = function()
{
   NCL = parent.NCL();
}
this.draw = function(scene)
{
   NCL.context.fillStyle = "red";
   NCL.circle(50,100,100);
}

Aucun commentaire:

Enregistrer un commentaire