public void FillRoundedRect(float x, float y, float width, float height, float radius)
        {
            if (float.IsNaN(x) || float.IsNaN(y) || float.IsNaN(width) || float.IsNaN(height) || float.IsNaN(radius))
            {
                System.Diagnostics.Debug.WriteLine("NaN in CoreGraphicsGraphics.FillRoundedRect");
                return;
            }

            _c.AddRoundedRect(new RectangleF(x, y, width, height), radius);
            _c.FillPath();
        }
Beispiel #2
0
 public void FillRoundedRect(float x, float y, float width, float height, float radius)
 {
     _c.AddRoundedRect(new RectangleF(x, y, width, height), radius);
     _c.FillPath();
 }