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

public static enum Geometry.LineDrawingMode extends Enum<Geometry.LineDrawingMode>
Line drawing modes declaration.
  • Enum Constant Details

    • SEGMENTS

      public static final Geometry.LineDrawingMode SEGMENTS
      Each pair of vertices define an independent segment.
    • SEGMENTS_STRIP

      public static final Geometry.LineDrawingMode SEGMENTS_STRIP
      Connected group of segments from the first vertex to the last.
    • SEGMENTS_LOOP

      public static final Geometry.LineDrawingMode SEGMENTS_LOOP
      Connected group of segments from the first vertex to the last, then back to the first.
    • NONE

      public static final Geometry.LineDrawingMode NONE
      No segments.
  • Method Details

    • values

      public static Geometry.LineDrawingMode[] 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

      public static Geometry.LineDrawingMode 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 name
      NullPointerException - if the argument is null