java.lang.Object
com.esri.arcgisruntime.raster.ColorRamp
Represents a color ramp that can be applied to some of the raster renderers.
- Since:
- 100.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines presets for type of color ramp. -
Constructor Summary
ConstructorDescriptionColorRamp
(ColorRamp.PresetType colorRampType, int size) Creates an instance of color ramp with predefined color ramp type and size. -
Method Summary
-
Constructor Details
-
ColorRamp
Creates an instance of color ramp with predefined color ramp type and size.- Parameters:
colorRampType
- type of color rampsize
- size of the color ramp. A typical value is 256.- Throws:
IllegalArgumentException
- if colorRampType is null- Since:
- 100.0.0
-