       @mouseX = e.x
       @mouseY = e.y
 
+    domObject.onmousedown = (e) => @mouseDown()
+    domObject.onmouseup = (e) => @mouseUp()
+
   isRunning: false
 
   start: ->

    isStrokeEnabled = true
    @g.strokeStyle = computeStyle(arguments)

  noFill: -> isFillEnabled = false

  noStroke: -> isStrokeEnabled = false

  setup: ->
  draw: ->

  mouseDown: ->
  mouseUp: ->


  ###
    2D Drawing API
