[]
        
立即试用
(Showing Draft Content)

LineDashStyle

Enum Class LineDashStyle

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

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

    • Solid

      public static final LineDashStyle Solid
      指定线条为实线。
    • SquareDot

      public static final LineDashStyle SquareDot
      指定线条由方形点组成。
    • RoundDot

      public static final LineDashStyle RoundDot
      指定线条由圆形点组成。
    • Dash

      public static final LineDashStyle Dash
      指定该行仅由破折号组成。
    • DashDot

      public static final LineDashStyle DashDot
      指定线条为点划线模式。
    • DashDotDot

      public static final LineDashStyle DashDotDot
      指定线条为点划线(dash-dot-dot pattern)。
    • LongDash

      public static final LineDashStyle LongDash
      指定该线由长破折号组成。
    • LongDashDot

      public static final LineDashStyle LongDashDot
      指定线条为长虚线点图案。
    • LongDashDotDot

      public static final LineDashStyle LongDashDotDot
      指定线条为长虚线点点的模式。
    • SysDash

      public static final LineDashStyle SysDash
      指定该行为长系统短划线图案。
    • SysDot

      public static final LineDashStyle SysDot
      指定该行为长系统点模式。
    • SysDashDot

      public static final LineDashStyle SysDashDot
      指定该行为长系统点划线模式。
    • Mixed

      public static final LineDashStyle Mixed
      仅适用于特殊形状。
  • Method Details

    • values

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