Class SvgExtension

java.lang.Object
qupath.lib.extension.svg.SvgExtension
All Implemented Interfaces:
QuPathExtension

public class SvgExtension extends Object implements QuPathExtension
Extension for SVG image export.
  • Constructor Details

    • SvgExtension

      public SvgExtension()
  • Method Details

    • installExtension

      public void installExtension(QuPathGUI qupath)
      Description copied from interface: QuPathExtension
      Install the extension for a QuPathGUI instance. This function is only called if the graphical user interface is used.

      This generally involves adding new commands to appropriate menus.

      Note that if an extension is only expected to be compatible with a specific QuPath version, this method provides an opportunity to test version compatibility before making any changes.

      See QuPathExtension.installHeadless() for installing the extension in headless mode.

      Specified by:
      installExtension in interface QuPathExtension
      Parameters:
      qupath -
      See Also:
    • getName

      public String getName()
      Description copied from interface: QuPathExtension
      A readable name for the extension.
      Specified by:
      getName in interface QuPathExtension
      Returns:
    • getDescription

      public String getDescription()
      Description copied from interface: QuPathExtension
      A short description of the extension for displaying in the main GUI.

      This could also contain licensing information.

      Specified by:
      getDescription in interface QuPathExtension
      Returns:
    • getQuPathVersion

      public Version getQuPathVersion()
      Returns the version stored within this jar, because it is matched to the QuPath version.
      Specified by:
      getQuPathVersion in interface QuPathExtension
      Returns:
      a semantic version corresponding to a QuPath version, e.g. "0.3.0".
      See Also: