Enum SketchCreationMode

    • Enum Constant Detail

      • MULTIPOINT

        public static final SketchCreationMode MULTIPOINT
        Multipoint geometry
        Since:
        100.1.0
      • POLYLINE

        public static final SketchCreationMode POLYLINE
        Polyline geometry incrementally vertex by vertex
        Since:
        100.1.0
      • POLYGON

        public static final SketchCreationMode POLYGON
        Polygon geometry incrementally vertex by vertex
        Since:
        100.1.0
      • FREEHAND_LINE

        public static final SketchCreationMode FREEHAND_LINE
        Polyline geometry in one stroke by freehand gesture
        Since:
        100.1.0
      • FREEHAND_POLYGON

        public static final SketchCreationMode FREEHAND_POLYGON
        Polygon geometry in one stroke by freehand gesture
        Since:
        100.1.0
      • RECTANGLE

        public static final SketchCreationMode RECTANGLE
        Rectangle geometry. A rectangle is drawn by three points - the first two establish a base line and the third defines the rectangle on one side of the base line.
        Since:
        100.9.0
    • Method Detail

      • values

        public static SketchCreationMode[] 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 (SketchCreationMode c : SketchCreationMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SketchCreationMode 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