 		@emit("change:size")
 		@emit("change:frame")
 
+	toInspect: ->
+		return "<#{@constructor.name} #{@width}x#{@height}>"
+
 exports.Canvas = Canvas


	@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


	onResize: (cb) -> @on("resize", cb)

	_handleResize: (event) =>
		@emit("resize")
		@emit("change:width")
