public enum BorderCapStyle extends Enum<BorderCapStyle>
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 BorderCapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorderCapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderCapStyle BUTT
public static final BorderCapStyle ROUND
public static final BorderCapStyle SQUARE
public static BorderCapStyle[] values()
for (BorderCapStyle c : BorderCapStyle.values()) System.out.println(c);
public static BorderCapStyle 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<BorderCapStyle>
Copyright © 2017. All rights reserved.