public enum ContourType extends Enum<ContourType>
Enum Constant and Description |
---|
HOLE
A hole within an enclosing contour
|
OUTER
An outer contour
|
Modifier and Type | Method and Description |
---|---|
static ContourType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContourType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContourType HOLE
public static final ContourType OUTER
public static ContourType[] values()
for (ContourType c : ContourType.values()) System.out.println(c);
public static ContourType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null