Package com.pdfjet

Enum Class PathOperator

java.lang.Object
java.lang.Enum<PathOperator>
com.pdfjet.PathOperator
All Implemented Interfaces:
Serializable, Comparable<PathOperator>, Constable

public enum PathOperator extends Enum<PathOperator>
The operators that paint a path, for example in Page.drawPath.
  • Enum Constant Details

    • STROKE

      public static final PathOperator STROKE
      Strokes the path.
    • CLOSE_AND_STROKE

      public static final PathOperator CLOSE_AND_STROKE
      Closes and then strokes the path.
    • FILL

      public static final PathOperator FILL
      Closes and fills the path.
    • FILL_AND_STROKE

      public static final PathOperator FILL_AND_STROKE
      Closes, fills and then strokes the path.
    • FILL_USING_EVEN_ODD_RULE

      public static final PathOperator FILL_USING_EVEN_ODD_RULE
      Like FILL, but uses the even-odd rule.
    • FILL_USING_EVEN_ODD_RULE_AND_STROKE

      public static final PathOperator FILL_USING_EVEN_ODD_RULE_AND_STROKE
      Like FILL_AND_STROKE, but uses the even-odd rule.
  • Method Details

    • values

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