public static enum Paint.Cap extends Enum<Paint.Cap>
| Modifier and Type | Method and Description |
|---|---|
static Paint.Cap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Paint.Cap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Paint.Cap BUTT
public static final Paint.Cap ROUND
public static final Paint.Cap SQUARE
public static Paint.Cap[] values()
for (Paint.Cap c : Paint.Cap.values()) System.out.println(c);
public static Paint.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 nullCopyright © 2008-2013. All Rights Reserved.