public static enum LinePainter2D.StrokeType extends java.lang.Enum<LinePainter2D.StrokeType>
| Enum Constant and Description | 
|---|
CENTERED
The stroke is painted with the line in the center, caps butt. 
 | 
CENTERED_CAPS_SQUARE
The stroke is painted with the line in the center, caps square. 
 | 
INSIDE
The stroke is painted on the right side of the vector if the angle is in (-PI/2, PI/2]
 and on the left side of the vector if the angle is in (-PI, -PI/2] or (PI/2, PI]. 
 | 
OUTSIDE
The stroke is painted opposite to INSIDE. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static LinePainter2D.StrokeType | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static LinePainter2D.StrokeType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final LinePainter2D.StrokeType CENTERED
public static final LinePainter2D.StrokeType CENTERED_CAPS_SQUARE
public static final LinePainter2D.StrokeType INSIDE
public static final LinePainter2D.StrokeType OUTSIDE
public static LinePainter2D.StrokeType[] values()
for (LinePainter2D.StrokeType c : LinePainter2D.StrokeType.values()) System.out.println(c);
public static LinePainter2D.StrokeType 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