public static enum ShapeStroke.LineCapType extends java.lang.Enum<ShapeStroke.LineCapType>
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Paint.Cap |
toPaintCap() |
static ShapeStroke.LineCapType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShapeStroke.LineCapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeStroke.LineCapType Butt
public static final ShapeStroke.LineCapType Round
public static final ShapeStroke.LineCapType Unknown
public static ShapeStroke.LineCapType[] values()
for (ShapeStroke.LineCapType c : ShapeStroke.LineCapType.values()) System.out.println(c);
public static ShapeStroke.LineCapType 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 nullpublic android.graphics.Paint.Cap toPaintCap()