Enum Class LineStyle

java.lang.Object
java.lang.Enum<LineStyle>
org.miaixz.bus.office.excel.style.LineStyle
All Implemented Interfaces:
Serializable, Comparable<LineStyle>, Constable

public enum LineStyle extends Enum<LineStyle>
SimpleShape中的线条风格枚举
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • HSSFShape
  • Enum Constant Details

    • SOLID

      public static final LineStyle SOLID
      Solid (continuous) pen
    • DASHSYS

      public static final LineStyle DASHSYS
      PS_DASH system dash style
    • DOTSYS

      public static final LineStyle DOTSYS
      PS_DOT system dash style
    • DASHDOTSYS

      public static final LineStyle DASHDOTSYS
      PS_DASHDOT system dash style
    • DASHDOTDOTSYS

      public static final LineStyle DASHDOTDOTSYS
      PS_DASHDOTDOT system dash style
    • DOTGEL

      public static final LineStyle DOTGEL
      square dot style
    • DASHGEL

      public static final LineStyle DASHGEL
      dash style
    • LONGDASHGEL

      public static final LineStyle LONGDASHGEL
      long dash style
    • DASHDOTGEL

      public static final LineStyle DASHDOTGEL
      dash short dash
    • LONGDASHDOTGEL

      public static final LineStyle LONGDASHDOTGEL
      long dash short dash
    • LONGDASHDOTDOTGEL

      public static final LineStyle LONGDASHDOTDOTGEL
      long dash short dash short dash
    • NONE

      public static final LineStyle NONE
  • 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
    • getValue

      public int getValue()
      获取样式编码
      Returns:
      样式编码