CoreGraphics.CGGradient Class
Gradient definitions.

See Also: CGGradient Members

Syntax

public class CGGradient : ObjCRuntime.INativeObject, IDisposable

See Also

CGContext.DrawLinearGradient
CGContext.DrawRadialGradient
CoreAnimation.CAGradientLayer

Remarks

A CoreGraphics.CGGradient defines a smooth transition between colors.

To use a CoreGraphics.CGGradient, application developers will typically have to create a custom UIKit.UIView and override its UIKit.UIView.Draw method. Application developers should consider a CoreAnimation.CAGradientLayer as a possible easier-to-use alternative.

Related content

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0