public enum JoinStyle extends Enum<JoinStyle> implements Key
Enum Constant and Description |
---|
BEVEL
Fills an additional triangular area between the common end point of connected segments, and the separate outside rectangular corners of each segment.
|
MITER
Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional shaped area.
This is the default. |
ROUND
Rounds off the corners of a shape by filling an additional sector of disc centered at the common end point of connected segments.
The radius for these rounded corners is equal to the line width. |
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static JoinStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final JoinStyle BEVEL
public static final JoinStyle ROUND
public static final JoinStyle MITER
public static JoinStyle[] values()
for (JoinStyle c : JoinStyle.values()) System.out.println(c);
public static JoinStyle 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 null