Udostępnij za pośrednictwem


GradientType Enum

Definition

Enumerates values returned by the LinearGradient, RadialGradient, and SweepGradient members and taken as a parameter of the F:Android.Graphics.Drawables.GradientDrawable.SetGradientType member.

public enum GradientType
type GradientType = 
Inheritance
GradientType

Fields

Name Value Description
LinearGradient 0
RadialGradient 1

Gradient is circular.

SweepGradient 2

Gradient is a sweep.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to