public enum LineCap extends Enum<LineCap>
| Enum Constant and Description |
|---|
FLAT
Line ends at end point
|
ROUND
Rounded ends
|
SQUARE
Square protrudes by half line width
|
| Modifier and Type | Method and Description |
|---|---|
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 ROUND
public static final LineCap SQUARE
public static final LineCap FLAT
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 © 2020. All rights reserved.