Package qupath.lib.extension.svg
Class SvgTools
java.lang.Object
qupath.lib.extension.svg.SvgTools
Helper class for writing SVG images, in particular rendered PathObjects to create high-quality figures.
- Author:
- Pete Bankhead
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class to enable the export of rendered QuPath objects as SVG images. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
writeViewerSnapshot
(QuPathViewer viewer, File fileSVG) Write an SVG image representing the contents of the specified viewer.
-
Constructor Details
-
SvgTools
public SvgTools()
-
-
Method Details
-
writeViewerSnapshot
Write an SVG image representing the contents of the specified viewer.- Parameters:
viewer
- the viewer to renderfileSVG
- SVG file for the export; should have the extension ".svg"- Throws:
IOException
-