extern static int CGPathIsRect(IntPtr path, out RectangleF rect); public bool IsRect (out RectangleF rect)