 				@context.dashedLine pts[len - 1].x, pts[len - 1].y, pts[0].x, pts[0].y, shape.dashStyle, shape.dashDelta
 				@context.stroke()
 			@context.stroke()
+		@
 
 
 	drawPolyline: (shape) ->

				@context.dashedLine pts[1].x, pts[1].y, pts[2].x, pts[2].y, shape.dashStyle, shape.dashDelta
				@context.dashedLine pts[2].x, pts[2].y, pts[0].x, pts[0].y, shape.dashStyle, shape.dashDelta
			@context.stroke()


	drawRectangle: (shape) ->

				@moveTo x, 0
			draw = not draw
		@restore()
		@
)()
