Class QuPathPenManager

java.lang.Object
qupath.lib.gui.viewer.tools.QuPathPenManager

public class QuPathPenManager extends Object
Helper class for managing pressure-sensitive input.
Author:
Pete Bankhead
  • Constructor Details

    • QuPathPenManager

      public QuPathPenManager()
  • Method Details

    • getPenManager

      public static QuPathPenManager.PenInputManager 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

      public static void setPenManager(QuPathPenManager.PenInputManager manager)
      Set the PenInputManager. If null, a default PenInputManager will be used.
      Parameters:
      manager -