public static enum ShapePainter.Cap extends Enum<ShapePainter.Cap>
| Enum Constant and Description | 
|---|
NONE
No specific cap is drawn. 
 | 
PERPENDICULAR
Cap is perpendicular to the line. 
 | 
ROUNDED
Cap is represented by a semi circle (default configuration). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ShapePainter.Cap | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ShapePainter.Cap[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ShapePainter.Cap NONE
public static final ShapePainter.Cap PERPENDICULAR
public static final ShapePainter.Cap ROUNDED
public static ShapePainter.Cap 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 nullpublic static ShapePainter.Cap[] values()
for (ShapePainter.Cap c : ShapePainter.Cap.values()) System.out.println(c);