MonoTouch.CoreGraphics.CGGradient Class
Gradient definitions.

See Also: CGGradient Members

Syntax

public class CGGradient : MonoTouch.ObjCRuntime.INativeObject, IDisposable

See Also

CGContext.DrawLinearGradient
CGContext.DrawRadialGradient
MonoTouch.CoreAnimation.CAGradientLayer

Remarks

A MonoTouch.CoreGraphics.CGGradient defines a smooth transition between colors.

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

Related content

Requirements

Namespace: MonoTouch.CoreGraphics
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0