Skip to content

Gradient Effect

The Gradient effect allows you to apply a gradient color style to a control.

Gradient

Properties

GradientRotationAngle - double

Gets or sets the rotation angle of the gradient. Default is 0d.

GradientStartColor - Color

Gets or sets the starting color. Default is Xamarin.Forms.Color.Default.

GradientStopColor - Color

Gets or sets the stop color. Default is Xamarin.Forms.Color.Default.

Example Usage

C#

gauge.VisualEffects.Add(new Aurora.VisualEffects.Gradient{GradientStartColor = Color.Blue, GradientStopColor = Color.GreenYellow});