public enum PolygonMode extends java.lang.Enum<PolygonMode>
| Enum Constant and Description |
|---|
FILL
The interior of the polygon is filled.
|
LINE
Boundary edges of the polygon are drawn as line segments.
|
POINT
Polygon control points are drawn as points.
|
| Modifier and Type | Method and Description |
|---|---|
static PolygonMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PolygonMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolygonMode POINT
public static final PolygonMode LINE
public static final PolygonMode FILL
public static PolygonMode[] values()
for (PolygonMode c : PolygonMode.values()) System.out.println(c);
public static PolygonMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null