Enum Geometry.LineDrawingMode
java.lang.Object
java.lang.Enum<Geometry.LineDrawingMode>
org.scilab.forge.scirenderer.shapes.geometry.Geometry.LineDrawingMode
- All Implemented Interfaces:
Serializable
,Comparable<Geometry.LineDrawingMode>
,java.lang.constant.Constable
- Enclosing interface:
Geometry
Line drawing modes declaration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo segments.Each pair of vertices define an independent segment.Connected group of segments from the first vertex to the last, then back to the first.Connected group of segments from the first vertex to the last. -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry.LineDrawingMode
Returns the enum constant of this type with the specified name.static Geometry.LineDrawingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEGMENTS
Each pair of vertices define an independent segment. -
SEGMENTS_STRIP
Connected group of segments from the first vertex to the last. -
SEGMENTS_LOOP
Connected group of segments from the first vertex to the last, then back to the first. -
NONE
No segments.
-
-
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
-