Package io.guise.framework.style
Enum LineStyle
- All Implemented Interfaces:
com.globalmentor.lex.Identifier
,com.globalmentor.lex.Token
,Serializable
,Comparable<LineStyle>
The style of a line, such as used for a border or divider.
- Author:
- Garret Wilson
- See Also:
-
Enum Constant Summary
Enum ConstantDescriptionA series of dashes.Alternating dots and dashes.Two dots and a dash.A series of dots.Two parallel solid lines with some spaces between them, the lines together with the space equalling any line width specified.Effect emulating carving on a canvas; typically achieved by using two colors slightly lighter and darker than the line color.Effect simulating a sunken canvas.Effect simulating a line coming out of the canvas.A single line segment.A wavy line. -
Method Summary
-
Enum Constant Details
-
DOTTED
A series of dots. -
DASHED
A series of dashes. -
SOLID
A single line segment. -
DOUBLE
Two parallel solid lines with some spaces between them, the lines together with the space equalling any line width specified. -
DOT_DASH
Alternating dots and dashes. -
DOT_DOT_DASH
Two dots and a dash. -
WAVE
A wavy line. -
GROOVE
Effect emulating carving on a canvas; typically achieved by using two colors slightly lighter and darker than the line color. -
RIDGE
Effect simulating a line coming out of the canvas. -
INSET
Effect simulating a sunken canvas.
-
-
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
-