Enum Class Stroke.LineJoinShape

java.lang.Object
java.lang.Enum<Stroke.LineJoinShape>
net.pl3x.map.core.markers.option.Stroke.LineJoinShape
All Implemented Interfaces:
Serializable, Comparable<Stroke.LineJoinShape>, Constable
Enclosing class:
Stroke

public static enum Stroke.LineJoinShape extends Enum<Stroke.LineJoinShape>
Represents the shape to be used at the corners of the stroke.
See Also:
  • Enum Constant Details

    • MITER

      public static final Stroke.LineJoinShape MITER
      The miter value indicates that a sharp corner is to be used to join path segments. The corner is formed by extending the outer edges of the stroke at the tangents of the path segments until they intersect.
    • ROUND

      public static final Stroke.LineJoinShape ROUND
      The round value indicates that a round corner is to be used to join path segments.
    • BEVEL

      public static final Stroke.LineJoinShape BEVEL
      The bevel value indicates that a bevelled corner is to be used to join path segments.
  • Method Details

    • values

      public static Stroke.LineJoinShape[] 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 Stroke.LineJoinShape 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