Package qupath.lib.gui.viewer.tools
Class QuPathPenManager
java.lang.Object
qupath.lib.gui.viewer.tools.QuPathPenManager
Helper class for managing pressure-sensitive input.
- Author:
- Pete Bankhead
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface defining minimal behavior for a pen input device. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the current PenInputManager.static void
Set the PenInputManager.
-
Constructor Details
-
QuPathPenManager
public QuPathPenManager()
-
-
Method Details
-
getPenManager
Get the current PenInputManager. This is guaranteed to return a PenInputManager even if no pen is present - in this case, a default manager will be returned.- Returns:
-
setPenManager
Set the PenInputManager. If null, a default PenInputManager will be used.- Parameters:
manager
-
-