Enum Lines.LinePattern
- java.lang.Object
-
- java.lang.Enum<Lines.LinePattern>
-
- com.solibri.smc.api.visualization.Lines.LinePattern
-
- All Implemented Interfaces:
Serializable
,Comparable<Lines.LinePattern>
- Enclosing interface:
- Lines
public static enum Lines.LinePattern extends Enum<Lines.LinePattern>
Describes pattern of the drawn lines.- Since:
- 9.10.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Lines.LinePattern
valueOf(String name)
Returns the enum constant of this type with the specified name.static Lines.LinePattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final Lines.LinePattern SOLID
Solid lines with no pattern.- Since:
- 9.10.2
-
DASH
public static final Lines.LinePattern DASH
Dashed lines.- Since:
- 9.10.2
-
DOT
public static final Lines.LinePattern DOT
Dotted lines.- Since:
- 9.10.2
-
DASH_DOT
public static final Lines.LinePattern DASH_DOT
Dashed-dotted lines. The lines are drawn with dash and dot alternated.- Since:
- 9.10.2
-
-
Method Detail
-
values
public static Lines.LinePattern[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Lines.LinePattern c : Lines.LinePattern.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Lines.LinePattern valueOf(String name)
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
-
-