Enum Class ROI.RoiType

java.lang.Object
java.lang.Enum<ROI.RoiType>
qupath.lib.roi.interfaces.ROI.RoiType
All Implemented Interfaces:
Serializable, Comparable<ROI.RoiType>, Constable
Enclosing interface:
ROI

public static enum ROI.RoiType extends Enum<ROI.RoiType>
Enum representing the major different types of ROI.
  • Enum Constant Details

    • AREA

      public static final ROI.RoiType AREA
      ROI represents a closed area (possibly with holes).
    • LINE

      public static final ROI.RoiType LINE
      ROI represents a line or polyline.
    • POINT

      public static final ROI.RoiType POINT
      ROI represents points.
  • Method Details

    • values

      public static ROI.RoiType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ROI.RoiType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null