Enum Class GradientStyle

java.lang.Object
java.lang.Enum<GradientStyle>
com.grapecity.documents.excel.drawing.GradientStyle
所有已实现的接口:
Serializable, Comparable<GradientStyle>, Constable

public enum GradientStyle extends Enum<GradientStyle>
Specifies the style for a gradient fill.
  • 枚举常量详细资料

    • Horizontal

      public static final GradientStyle Horizontal
      Specifies a gradient running horizontally across the shape.
    • Vertical

      public static final GradientStyle Vertical
      Specifies a gradient running vertically down the shape.
    • DiagonalUp

      public static final GradientStyle DiagonalUp
      Specifies a diagonal gradient moving from a bottom corner up to the opposite corner.
    • DiagonalDown

      public static final GradientStyle DiagonalDown
      Specifies a diagonal gradient moving from a top corner down to the opposite corner.
    • FromCorner

      public static final GradientStyle FromCorner
      Specifies a gradient running from a corner to the other three corners.
    • FromTitle

      public static final GradientStyle FromTitle
      Specifies a gradient running from the title outward.
    • FromCenter

      public static final GradientStyle FromCenter
      Specifies a gradient running from the center out to the corners.
    • Mixed

      public static final GradientStyle Mixed
      Gradient is mixed.
  • 方法详细资料

    • values

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

      public static GradientStyle 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.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值