[]
        
立即试用
(Showing Draft Content)

LineStyle

Enum Class LineStyle

java.lang.Object
java.lang.Enum<LineStyle>
com.grapecity.documents.excel.drawing.LineStyle
All Implemented Interfaces:
Serializable, Comparable<LineStyle>, Constable

public enum LineStyle extends Enum<LineStyle>
指定线条的样式。
  • Enum Constant Details

    • Single

      public static final LineStyle Single
      指定单行。
    • ThinThin

      public static final LineStyle ThinThin
      指定两条细线。
    • ThinThick

      public static final LineStyle ThinThick
      指定一条细线旁边有一条粗线。对于水平线,粗线位于细线下方。对于垂直线,粗线位于细线右侧。
    • ThickThin

      public static final LineStyle ThickThin
      指定一条粗线和一条细线相邻。对于水平线,粗线在细线上方。对于垂直线,粗线在细线左侧。
    • ThickBetweenThin

      public static final LineStyle ThickBetweenThin
      指定一条带有两侧细线的粗线。
  • Method Details

    • values

      public static LineStyle[] 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 LineStyle 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