Enum Class LayerColor.Mode

java.lang.Object
java.lang.Enum<LayerColor.Mode>
ke.ric.renderer.api.LayerColor.Mode
All Implemented Interfaces:
Serializable, Comparable<LayerColor.Mode>, Constable
Enclosing class:
LayerColor

public static enum LayerColor.Mode extends Enum<LayerColor.Mode>
Available color treatments.
  • Enum Constant Details

    • ORIGINAL

      public static final LayerColor.Mode ORIGINAL
      Preserves the rendered RGB channels.
    • TINT

      public static final LayerColor.Mode TINT
      Multiplies each rendered channel by the corresponding tint channel divided by 255.
    • SOLID

      public static final LayerColor.Mode SOLID
      Replaces rendered RGB channels with the supplied colour while retaining coverage.
  • Method Details

    • values

      public static LayerColor.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 LayerColor.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