Enum Class FillRule

java.lang.Object
java.lang.Enum<FillRule>
com.myscript.iink.graphics.FillRule
All Implemented Interfaces:
Serializable, Comparable<FillRule>, Constable

public enum FillRule extends Enum<FillRule>
Defines the methods used to fill paths and polygons.
  • Enum Constant Details

    • NONZERO

      public static final FillRule NONZERO
      Non-zero fill rule.
    • EVENODD

      public static final FillRule EVENODD
      Even-odd fill rule.
  • Method Details

    • values

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