Enum Class RasterColorizer.Mode

java.lang.Object
java.lang.Enum<RasterColorizer.Mode>
dev.avelar.mapnik.RasterColorizer.Mode
All Implemented Interfaces:
Serializable, Comparable<RasterColorizer.Mode>, Constable
Enclosing class:
RasterColorizer

public static enum RasterColorizer.Mode extends Enum<RasterColorizer.Mode>
How values between stops are coloured.
  • Enum Constant Details

    • DISCRETE

      public static final RasterColorizer.Mode DISCRETE
      Each value takes the colour of the stop at or below it.
    • LINEAR

      public static final RasterColorizer.Mode LINEAR
      Colours are blended between the stops on either side.
    • EXACT

      public static final RasterColorizer.Mode EXACT
      Only values equal to a stop are coloured.
  • Method Details

    • values

      public static RasterColorizer.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RasterColorizer.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null