Basic helper object for drawing simple 2D shapes on an HTML5 canvas.