 
 	onResize: (cb) -> @on("resize", cb)
 
-	toInspect: ->
-		return "<#{@constructor.name} #{@width}x#{@height}>"
-
 	_handleResize: (event) =>
 		@emit("resize")
 		@emit("change:width")


	@define "width",  get: -> window.innerWidth
	@define "height", get: -> window.innerHeight
	@define "size", get: -> {width:@width, height:@height}
	@define "frame", get: -> {x:0, y:0, width:@width, height:@height}

	@define "backgroundColor",
		importable: false

		@emit("change:size")
		@emit("change:frame")

	toInspect: ->
		return "<#{@constructor.name} #{@width}x#{@height}>"

exports.Canvas = Canvas
