void drawBackground(CGContext context, Color color, float width, float height) { context.SetFillColor(color.ToCGColor()); context.FillRect(new RectangleF(HALF_PIXEL_X, HALF_PIXEL_Y, width+HALF_PIXEL_X, height+HALF_PIXEL_Y)); context.FillPath(); }