Enum Class Enums.ShadeType

java.lang.Object
java.lang.Enum<Enums.ShadeType>
com.motivewave.platform.sdk.common.Enums.ShadeType
All Implemented Interfaces:
Serializable, Comparable<Enums.ShadeType>, Constable
Enclosing interface:
Enums

public static enum Enums.ShadeType extends Enum<Enums.ShadeType>
Describes where to apply a shade.
  • Enum Constant Details

    • NONE

      public static final Enums.ShadeType NONE
      No shading.
    • ABOVE

      public static final Enums.ShadeType ABOVE
      Shade above a line or path.
    • BELOW

      public static final Enums.ShadeType BELOW
      Shade below a line or path.
    • BOTH

      public static final Enums.ShadeType BOTH
      Shade above and below a line or path.
  • Method Details

    • values

      public static Enums.ShadeType[] 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 Enums.ShadeType 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
    • getShortCode

      public String getShortCode()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Enums.ShadeType>
    • fromCode

      public static Enums.ShadeType fromCode(String str)