Enum Class PresetGradientType
- 所有已实现的接口:
Serializable
,Comparable<PresetGradientType>
,Constable
Specifies which predefined gradient to use to fill a shape.
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量说明Specifies the Brass gradient.Specifies the Calm Water gradient.Specifies the Chrome gradient.Specifies the Chrome II gradient.Specifies the Daybreak gradient.Specifies the Desert gradient.Specifies the Early Sunset gradient.Specifies the Fire gradient.Specifies the Fog gradient.Specifies the Gold gradient.Specifies the Gold II gradient.Specifies the Horizon gradient.Specifies the Late Sunset gradient.Specifies the Mahogany gradient.Specifies the Moss gradient.Specifies the Nightfall gradient.Specifies the Ocean gradient.Specifies the Parchment gradient.Specifies the Peacock gradient.Specifies the Rainbow gradient.Specifies the Rainbow II gradient.Specifies the Sapphire gradient.Specifies the Silver gradient.Specifies the Wheat gradient. -
方法概要
修饰符和类型方法说明static PresetGradientType
Returns the enum constant of this class with the specified name.static PresetGradientType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
EarlySunset
Specifies the Early Sunset gradient. -
LateSunset
Specifies the Late Sunset gradient. -
Nightfall
Specifies the Nightfall gradient. -
Daybreak
Specifies the Daybreak gradient. -
Horizon
Specifies the Horizon gradient. -
Desert
Specifies the Desert gradient. -
Ocean
Specifies the Ocean gradient. -
CalmWater
Specifies the Calm Water gradient. -
Fire
Specifies the Fire gradient. -
Fog
Specifies the Fog gradient. -
Moss
Specifies the Moss gradient. -
Peacock
Specifies the Peacock gradient. -
Wheat
Specifies the Wheat gradient. -
Parchment
Specifies the Parchment gradient. -
Mahogany
Specifies the Mahogany gradient. -
Rainbow
Specifies the Rainbow gradient. -
RainbowII
Specifies the Rainbow II gradient. -
Gold
Specifies the Gold gradient. -
GoldII
Specifies the Gold II gradient. -
Brass
Specifies the Brass gradient. -
Chrome
Specifies the Chrome gradient. -
ChromeII
Specifies the Chrome II gradient. -
Silver
Specifies the Silver gradient. -
Sapphire
Specifies the Sapphire gradient.
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-