public enum BeamStroke extends java.lang.Enum<BeamStroke>
Modifier and Type | Method and Description |
---|---|
abstract java.awt.Stroke |
getBeamStroke(float width) |
static BeamStroke |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeamStroke[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeamStroke SOLID
public static final BeamStroke DASH
public static final BeamStroke MITER
public static BeamStroke[] values()
for (BeamStroke c : BeamStroke.values()) System.out.println(c);
public static BeamStroke valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.awt.Stroke getBeamStroke(float width)