Enum Class EnumMap.Gradient

java.lang.Object
java.lang.Enum<EnumMap.Gradient>
org.miaixz.bus.core.lang.EnumMap.Gradient
All Implemented Interfaces:
Serializable, Comparable<EnumMap.Gradient>, Constable
Enclosing interface:
EnumMap<E extends EnumMap<E>>

public static enum EnumMap.Gradient extends Enum<EnumMap.Gradient>
渐变方向
  • Enum Constant Details

    • TOP_BOTTOM

      public static final EnumMap.Gradient TOP_BOTTOM
      上到下
    • LEFT_RIGHT

      public static final EnumMap.Gradient LEFT_RIGHT
      左到右
    • LEFT_TOP_TO_RIGHT_BOTTOM

      public static final EnumMap.Gradient LEFT_TOP_TO_RIGHT_BOTTOM
      左上到右下
    • RIGHT_TOP_TO_LEFT_BOTTOM

      public static final EnumMap.Gradient RIGHT_TOP_TO_LEFT_BOTTOM
      右上到左下
  • Method Details

    • values

      public static EnumMap.Gradient[] 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 EnumMap.Gradient 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