public override void Draw(object control, GraphicsHandler graphics, RectangleF rect) { graphics.Control.SetFillColor((CGColor)control); graphics.Control.FillRect(rect.ToNS()); }
public void SetClip(RectangleF rectangle) { RewindTransform(); RewindClip(); clipPath = null; clipBounds = currentTransform.TransformRect(rectangle.ToNS()); ApplyClip(); ApplyTransform(); }