Package qupath.lib.gui.tools
Enum Class GuiTools.SnapshotType
- All Implemented Interfaces:
Serializable
,Comparable<GuiTools.SnapshotType>
,Constable
- Enclosing class:
GuiTools
Kinds of snapshot image that can be created for QuPath.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFull screenshot, including items outside of QuPath.Snapshot of the full Scene of the main QuPath Window.Screenshot of the full QuPath window as it currently appears, including any overlapping windows.Snapshot of the current viewer content. -
Method Summary
Modifier and TypeMethodDescriptionstatic GuiTools.SnapshotType
Returns the enum constant of this class with the specified name.static GuiTools.SnapshotType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VIEWER
Snapshot of the current viewer content. -
MAIN_SCENE
Snapshot of the full Scene of the main QuPath Window. This excludes the titlebar and any overlapping windows. -
MAIN_WINDOW_SCREENSHOT
Screenshot of the full QuPath window as it currently appears, including any overlapping windows. -
FULL_SCREENSHOT
Full screenshot, including items outside of QuPath.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-