Package qupath.lib.gui.viewer.tools
Class QuPathPenManager
java.lang.Object
qupath.lib.gui.viewer.tools.QuPathPenManager
Helper class for managing pressure-sensitive input.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceInterface defining minimal behavior for a pen input device.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the current PenInputManager.static voidSet the PenInputManager.
- 
Constructor Details- 
QuPathPenManagerpublic QuPathPenManager()
 
- 
- 
Method Details- 
getPenManagerGet 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:
 
- 
setPenManagerSet the PenInputManager. If null, a default PenInputManager will be used.- Parameters:
- manager-
 
 
-