Enum Class LineEndingStyle

java.lang.Object
java.lang.Enum<LineEndingStyle>
org.jpedal.constants.LineEndingStyle
All Implemented Interfaces:
Serializable, Comparable<LineEndingStyle>, Constable

public enum LineEndingStyle extends Enum<LineEndingStyle>
The style of a line ending.
  • Enum Constant Details

    • SQUARE

      public static final LineEndingStyle SQUARE
      A square line ending.
    • CIRCLE

      public static final LineEndingStyle CIRCLE
      A circular line ending.
    • DIAMOND

      public static final LineEndingStyle DIAMOND
      A diamond-shaped line ending.
    • OPEN_ARROW

      public static final LineEndingStyle OPEN_ARROW
      An open arrowhead line ending.
    • CLOSED_ARROW

      public static final LineEndingStyle CLOSED_ARROW
      A closed (filled) arrowhead line ending.
    • NONE

      public static final LineEndingStyle NONE
      No line ending.
    • BUTT

      public static final LineEndingStyle BUTT
      A flat cap at the end of the line (also known as "butt cap").
    • REVERSE_OPEN_ARROW

      public static final LineEndingStyle REVERSE_OPEN_ARROW
      A reversed open arrowhead line ending (arrow points toward the line start).
    • REVERSE_CLOSED_ARROW

      public static final LineEndingStyle REVERSE_CLOSED_ARROW
      A reversed closed (filled) arrowhead line ending.
    • SLASH

      public static final LineEndingStyle SLASH
      A short diagonal line resembling a slash at the end of the line.
  • Method Details

    • values

      public static LineEndingStyle[] 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 LineEndingStyle 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 String getValue()
      Returns the String value associated with this enum instance..
      Returns:
      the String value associated with this enum instance.