public enum BorderJoinStyle extends Enum<BorderJoinStyle>
Enum Constant and Description |
---|
BEVEL
Fills an additional triangular area between the common
endpoint 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
lozenge-shaped area.
|
ROUND
Rounds off the corners of a shape by filling an
additional sector of disc centered at the common endpoint of connected
segments.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static BorderJoinStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderJoinStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderJoinStyle ROUND
public static final BorderJoinStyle BEVEL
public static final BorderJoinStyle MITER
public static BorderJoinStyle[] values()
for (BorderJoinStyle c : BorderJoinStyle.values()) System.out.println(c);
public static BorderJoinStyle 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 toString()
toString
in class Enum<BorderJoinStyle>
Copyright © 2017. All rights reserved.