Enum Class PresetGradientType
- All Implemented Interfaces:
Serializable,Comparable<PresetGradientType>,Constable
Specifies which predefined gradient to use to fill a shape.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies 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. -
Method Summary
Modifier and TypeMethodDescriptionstatic PresetGradientTypeReturns 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.
-
Enum Constant Details
-
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- 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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-