public enum LineCap extends Enum<LineCap>
| Enum Constant and Description |
|---|
BUTT
The ends of lines are squared off at the endpoints.
|
ROUND
The ends of lines are rounded.
|
SQUARE
The ends of lines are squared off by adding a box with an equal width and half the height of
the line's thickness.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static LineCap |
valueOf(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 ROUND
public static final LineCap SQUARE
public static LineCap[] values()
for (LineCap c : LineCap.values()) System.out.println(c);
public static LineCap 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 © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.