public enum StrokePosition extends java.lang.Enum<StrokePosition>
Enum Constant and Description |
---|
CENTER
The stroke is centered on the polygon's path, with half the stroke inside the polygon and half
the stroke outside the polygon.
|
INSIDE
The stroke lies inside the polygon.
|
OUTSIDE
The stroke lies outside the polygon.
|
Modifier and Type | Method and Description |
---|---|
static StrokePosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StrokePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StrokePosition CENTER
public static final StrokePosition INSIDE
public static final StrokePosition OUTSIDE
public static StrokePosition[] values()
for (StrokePosition c : StrokePosition.values()) System.out.println(c);
public static StrokePosition 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