public enum LineCap extends java.lang.Enum<LineCap> implements Enumeration
| Modifier and Type | Method and Description |
|---|---|
static LineCap |
fromString(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static LineCap |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineCap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineCap BUTT
public static final LineCap LINE
public static final LineCap SQUARE
public static LineCap[] values()
for (LineCap c : LineCap.values()) System.out.println(c);
public static LineCap 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 static LineCap fromString(java.lang.String value) throws EnumerationException
EnumerationExceptionpublic java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Enum<LineCap>Copyright © 2014 Open Microscopy Environment