Enum SplinePathBuilder.WindingRule

java.lang.Object
java.lang.Enum<SplinePathBuilder.WindingRule>
org.bzdev.geom.SplinePathBuilder.WindingRule
All Implemented Interfaces:
Serializable, Comparable<SplinePathBuilder.WindingRule>
Enclosing class:
SplinePathBuilder

public static enum SplinePathBuilder.WindingRule extends Enum<SplinePathBuilder.WindingRule>
Enum to define winding rules. For a Path2D.Double, Path2D.Float, and SplinePath2D, a winding rule is specified by an integer constant defined in Path2D and used in a constructor.
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static SplinePathBuilder.WindingRule[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SplinePathBuilder.WindingRule valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null