public final class EndCap
extends java.lang.Object
Stroke.getEndCap(),
Stroke.setEndCap(int)| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT
Default value is
FLAT. |
static int |
FLAT
Line ends at end point.
|
static int |
length |
static int |
ROUND
Rounded ends.
|
static int |
SQUARE
Square protrudes by half line width.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String endCapName) |
static java.lang.String |
getName(int endCap) |
static int[] |
getValues() |
static java.lang.String |
toString(int endCap) |
public static final int ROUND
public static final int SQUARE
public static final int FLAT
public static final int DEFAULT
FLAT.public static final int length