Enum Class StrokeJoin

java.lang.Object
java.lang.Enum<StrokeJoin>
com.mta.tehreer.graphics.StrokeJoin
All Implemented Interfaces:
Serializable, Comparable<StrokeJoin>, java.lang.constant.Constable

public enum StrokeJoin extends Enum<StrokeJoin>
Specifies the treatment where lines and curve segments join on a stroked path.
  • Enum Constant Details

    • BEVEL

      public static final StrokeJoin BEVEL
      The outer edges of a join meet with a straight line.
    • MITER

      public static final StrokeJoin MITER
      The outer edges of a join meet at a sharp angle.
    • ROUND

      public static final StrokeJoin ROUND
      The outer edges of a join meet in a circular arc.
  • Method Details

    • values

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