Package com.esri.arcgisruntime.raster
Enum ColorRamp.PresetType
- java.lang.Object
-
- java.lang.Enum<ColorRamp.PresetType>
-
- com.esri.arcgisruntime.raster.ColorRamp.PresetType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ColorRamp.PresetType>
- Enclosing class:
- ColorRamp
public static enum ColorRamp.PresetType extends java.lang.Enum<ColorRamp.PresetType>
Defines presets for type of color ramp.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEM_LIGHT
Digital Elevation Model, light.DEM_SCREEN
Digital Elevation Model, screen.ELEVATION
Elevation.NONE
None.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorRamp.PresetType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ColorRamp.PresetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ColorRamp.PresetType NONE
None.- Since:
- 100.0.0
-
ELEVATION
public static final ColorRamp.PresetType ELEVATION
Elevation.- Since:
- 100.0.0
-
DEM_SCREEN
public static final ColorRamp.PresetType DEM_SCREEN
Digital Elevation Model, screen.- Since:
- 100.0.0
-
DEM_LIGHT
public static final ColorRamp.PresetType DEM_LIGHT
Digital Elevation Model, light.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static ColorRamp.PresetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ColorRamp.PresetType c : ColorRamp.PresetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColorRamp.PresetType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-