public static enum Stroke.CapStyle extends Enum<Stroke.CapStyle>
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static Stroke.CapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stroke.CapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stroke.CapStyle Cap
public static final Stroke.CapStyle RoundCap
public static final Stroke.CapStyle Square
public static Stroke.CapStyle[] values()
for (Stroke.CapStyle c : Stroke.CapStyle.values()) System.out.println(c);
public static Stroke.CapStyle 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 int value()
Copyright © 2022. All rights reserved.