Package com.esri.arcgisruntime.raster
Class ColorRamp
- java.lang.Object
-
- com.esri.arcgisruntime.raster.ColorRamp
-
public final class ColorRamp extends java.lang.Object
Represents a color ramp that can be applied to some of the raster renderers.- Since:
- 100.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ColorRamp.PresetType
Defines presets for type of color ramp.
-
Constructor Summary
Constructors Constructor Description ColorRamp(ColorRamp.PresetType colorRampType, int size)
Creates an instance of color ramp with predefined color ramp type and size.
-
-
-
Constructor Detail
-
ColorRamp
public ColorRamp(ColorRamp.PresetType colorRampType, int size)
Creates an instance of color ramp with predefined color ramp type and size.- Parameters:
colorRampType
- type of color rampsize
- size of the color ramp- Throws:
java.lang.IllegalArgumentException
- if colorRampType is null- Since:
- 100.0.0
-
-