Android Guides | Samples

Android.Graphics.Drawables.GradientType Enumeration

Enumerates values returned by the GradientType.LinearGradient, GradientType.RadialGradient, and GradientType.SweepGradient members and taken as a parameter of the GradientDrawable.SetGradientType member.

Syntax

public enum GradientType

Remarks

Enumerates values returned by the GradientType.LinearGradient, GradientType.RadialGradient, and GradientType.SweepGradient members and taken as a parameter of the GradientDrawable.SetGradientType member.

Members

Member NameDescription
LinearGradientGradient is linear (default.)
RadialGradientGradient is circular.
SweepGradientGradient is a sweep.

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Graphics.Drawables.GradientType are listed below.

See Also: Enum

Public Fields

LinearGradientGradientType. Gradient is linear (default.)
RadialGradientGradientType. Gradient is circular.
SweepGradientGradientType. Gradient is a sweep.