static private drawBackground ( CGContext context, System.Color color, float width, float height ) : void | ||
context | CGContext | |
color | System.Color | |
width | float | |
height | float | |
return | void |
void drawBackground(CGContext context, Color color, float width, float height)
{
context.SetFillColor(color.ToCGColor());
context.FillRect(new CGRect (HALF_PIXEL_X, HALF_PIXEL_Y, width+HALF_PIXEL_X, height+HALF_PIXEL_Y));
context.FillPath();
}