| javascript Programming Glossary: that.yHow to “properly” create a custom object in JavaScript? http://stackoverflow.com/questions/1595611/how-to-properly-create-a-custom-object-in-javascript  y this.toString function return 'Shape at ' that.x ' ' that.y function Circle x y r var that this Shape.call this x y this.r.. the new operator function Shape x y var that that.x x that.y y that.toString function return 'Shape at ' that.x ' ' that.y.. y that.toString function return 'Shape at ' that.x ' ' that.y return that function Circle x y r var that Shape x y that.r.. 
 How to drag images / objects within Canvas? http://stackoverflow.com/questions/18333936/how-to-drag-images-objects-within-canvas   var left that.x  var right that.x img.width  var top that.y  var bottom that.y img.height  if drag  startX mouseX that.x..  var right that.x img.width  var top that.y  var bottom that.y img.height  if drag  startX mouseX that.x  startY mouseY that.y.. img.height  if drag  startX mouseX that.x  startY mouseY that.y   if mouseX right mouseX left mouseY bottom mouseY top  if dragging.. 
 |