Class ColorRamp

java.lang.Object
com.esri.arcgisruntime.raster.ColorRamp

public final class ColorRamp extends Object
Represents a color ramp that can be applied to some of the raster renderers.
Since:
100.0.0
  • Constructor Details

    • 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 ramp
      size - size of the color ramp. A typical value is 256.
      Throws:
      IllegalArgumentException - if colorRampType is null
      Since:
      100.0.0