public void DrawRadialGradient(CGGradient gradient, CGPoint startCenter, nfloat startRadius, CGPoint endCenter, nfloat endRadius, CGGradientDrawingOptions options) { CGContextDrawRadialGradient(handle, gradient == null ? IntPtr.Zero : gradient.handle, startCenter, startRadius, endCenter, endRadius, options); }
public void DrawLinearGradient(CGGradient gradient, CGPoint startPoint, CGPoint endPoint, CGGradientDrawingOptions options) { CGContextDrawLinearGradient(handle, gradient == null ? IntPtr.Zero : gradient.handle, startPoint, endPoint, options); }