public enum LineCap extends Enum<LineCap>
Enum Constant and Description |
---|
BUTT
Butt closes the line off with a straight edge that's normal (at 90 degrees)
to the direction of the stroke and crosses its end.
|
ROUND
round produces a rounded effect on the end of the stroke.
|
SQUARE
square has essentially the same appearance, but stretches the stroke
slightly beyond the actual path.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
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 SQUARE
public static final LineCap ROUND
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 nullpublic String getValue()
Copyright © 2018 Xalys. All rights reserved.