public void DrawAndFillBeziers(Pen pen, Brush brush, TPointF[] points, TClippingStyle clippingStyle) { switch (clippingStyle) { case TClippingStyle.None: Canvas.DrawAndFillBeziers(pen, brush, points); break; default: if (brush != null) { Canvas.ClipBeziers(points, clippingStyle == TClippingStyle.Exclude); SetClipped(true, RectangleF.Empty); } break; } }