public static enum Polyline.DashStyle extends java.lang.Enum<Polyline.DashStyle>
Enum Constant and Description |
---|
CUSTOMIZED |
DASH |
DASH_DOT |
DASH_DOT_DOT |
DOT |
SOLID |
Modifier and Type | Method and Description |
---|---|
float[] |
getDashPattern()
Returns an array describing the length of dashes and spaces between them
for a 1 cm thick polyline.
|
static Polyline.DashStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Polyline.DashStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Polyline.DashStyle SOLID
public static final Polyline.DashStyle DOT
public static final Polyline.DashStyle DASH
public static final Polyline.DashStyle DASH_DOT
public static final Polyline.DashStyle DASH_DOT_DOT
public static final Polyline.DashStyle CUSTOMIZED
public static Polyline.DashStyle[] values()
for (Polyline.DashStyle c : Polyline.DashStyle.values()) System.out.println(c);
public static Polyline.DashStyle 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 float[] getDashPattern()
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License