- All Implemented Interfaces:
Serializable
,Comparable<StrokeStyle>
,Constable
public enum StrokeStyle extends Enum<StrokeStyle>
This class represents style of edges and strokes.
- Author:
- Dr. Peter Droste, Omix Visualization
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description DASH_DOT_DOT_LINE
line with one dash, two dots...DASH_DOT_LINE
line with alternating dashes and dots.DASH_LINE
dashed line.DOT_LINE
dotted line.NO_LINE
no strokeSOLID_LINE
solid line. -
Method Summary
Modifier and Type Method Description static StrokeStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static StrokeStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SOLID_LINE
solid line. -
DASH_LINE
dashed line. -
DOT_LINE
dotted line. -
DASH_DOT_LINE
line with alternating dashes and dots. -
DASH_DOT_DOT_LINE
line with one dash, two dots... -
NO_LINE
no stroke
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-