Enum Class PathOperators

java.lang.Object
java.lang.Enum<PathOperators>
com.datalogics.PDFL.PathOperators
All Implemented Interfaces:
Serializable, Comparable<PathOperators>, Constable

public enum PathOperators extends Enum<PathOperators>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Designates the h (closepath) operator, which closes the current sub-path.
    Designates the c (curveto) operator, which appends a bezier curve to the path.
    Designates the l (lineto) operator, which appends a straight line segment from the current point.
    Designates the m (moveto) operator, which moves the current point.
    Designates the re operator, which adds a rectangle to the current path.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static PathOperators[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MOVE

      public static final PathOperators MOVE
      Designates the m (moveto) operator, which moves the current point.
    • LINE

      public static final PathOperators LINE
      Designates the l (lineto) operator, which appends a straight line segment from the current point.
    • CURVE

      public static final PathOperators CURVE
      Designates the c (curveto) operator, which appends a bezier curve to the path.
    • RECT_PATH

      public static final PathOperators RECT_PATH
      Designates the re operator, which adds a rectangle to the current path.
    • CLOSE

      public static final PathOperators CLOSE
      Designates the h (closepath) operator, which closes the current sub-path.
  • Method Details

    • values

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