public static void FillEllipsis(CGContext context, RectangleF rect, CGColor color) { context.SaveState(); context.SetFillColor(color); context.FillEllipseInRect(rect); context.FillPath(); context.RestoreState(); }
// Purple poka dots test protected void DrawPolkaDotPattern(CGContext context) { context.SetFillColor(Color.Purple.ToCGColor()); context.FillEllipseInRect (new RectangleF (4, 4, 8, 8)); }