Advertisement
Guest User

Untitled

a guest
Sep 1st, 2012
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             var ball = new Kinetic.Shape(function(){
  2.                 var context = this.getContext();
  3.                 context.beginPath();
  4.                 context.arc(0, 0, radius, 0, 2 * Math.PI, false);
  5.                 context.fillStyle = '#ff6600';
  6.                 context.fill();
  7.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement