|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Path.WindingRule>
pivot.wtk.media.drawing.Path.WindingRule
public static enum Path.WindingRule
The winding rule specifies how the interior of a path is determined.
Enum Constant Summary | |
---|---|
EVEN_ODD
An EVEN_ODD winding rule means that enclosed regions of the path alternate between interior and exterior areas as traversed from the outside of the path towards a point inside the region. |
|
NON_ZERO
A NON_ZERO winding rule means that if a ray is drawn in any direction from a given point to infinity and the places where the path intersects the ray are examined, the point is inside of the path if and only if the number of times that the path crosses the ray from left to right does not equal the number of times that the path crosses the ray from right to left. |
Method Summary | |
---|---|
static Path.WindingRule |
decode(String value)
|
static Path.WindingRule |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Path.WindingRule[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Path.WindingRule NON_ZERO
public static final Path.WindingRule EVEN_ODD
Method Detail |
---|
public static Path.WindingRule[] values()
for (Path.WindingRule c : Path.WindingRule.values()) System.out.println(c);
public static Path.WindingRule valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static Path.WindingRule decode(String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |