Enum Geometry.FillDrawingMode
java.lang.Object
java.lang.Enum<Geometry.FillDrawingMode>
org.scilab.forge.scirenderer.shapes.geometry.Geometry.FillDrawingMode
- All Implemented Interfaces:
Serializable
,Comparable<Geometry.FillDrawingMode>
,java.lang.constant.Constable
- Enclosing interface:
Geometry
This enum specify how geometry is rendered.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNothing is filled.Draws a connected group of triangles with common first element.Draws a connected group of triangles.Treats each triplet of vertices as an independent triangle. -
Method Summary
Modifier and TypeMethodDescriptionstatic Geometry.FillDrawingMode
Returns the enum constant of this type with the specified name.static Geometry.FillDrawingMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRIANGLES
Treats each triplet of vertices as an independent triangle. -
TRIANGLE_STRIP
Draws a connected group of triangles. -
TRIANGLE_FAN
Draws a connected group of triangles with common first element. -
NONE
Nothing is filled.
-
-
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
-