Class 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 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 ramp
        size - size of the color ramp
        Throws:
        IllegalArgumentException - if colorRampType is null
        Since:
        100.0.0