[]
        
(Showing Draft Content)

LineCapStyle

Enum Class LineCapStyle

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

public enum LineCapStyle extends Enum<LineCapStyle>
Specifies the cap type for a line.
  • Enum Constant Details

    • Flat

      public static final LineCapStyle Flat
      Specifies the end of the line is flat.
    • Square

      public static final LineCapStyle Square
      Specifies the end of the line is capped with a square shape.
    • Round

      public static final LineCapStyle Round
      Specifies the end of the line is rounded.
  • Method Details

    • values

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