edu.neu.ccs.gui
Class WindingRule

java.lang.Object
  |
  +--edu.neu.ccs.gui.WindingRule

public abstract class WindingRule
extends Object

Class WindingRule encapsulates the two constants from GeneralPath: WIND_NON_ZERO and WIND_EVEN_ODD.

Class WindingRule cannot be implemented outside of its own package.

Since:
2.3
See Also:
GeneralPath

Field Summary
static WindingRule WIND_EVEN_ODD
          WindingRule that returns GeneralPath.WIND_EVEN_ODD.
static WindingRule WIND_NON_ZERO
          WindingRule that returns GeneralPath.WIND_NON_ZERO.
 
Method Summary
abstract  int rule()
          Returns the associated GeneralPath constant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIND_NON_ZERO

public static final WindingRule WIND_NON_ZERO
WindingRule that returns GeneralPath.WIND_NON_ZERO.

See Also:
GeneralPath.WIND_NON_ZERO, WIND_EVEN_ODD

WIND_EVEN_ODD

public static final WindingRule WIND_EVEN_ODD
WindingRule that returns GeneralPath.WIND_EVEN_ODD.

See Also:
GeneralPath.WIND_EVEN_ODD, WIND_NON_ZERO
Method Detail

rule

public abstract int rule()
Returns the associated GeneralPath constant.