Package jline.io.tikz
Class TikZViewer
java.lang.Object
jline.io.tikz.TikZViewer
Displays PDF files generated from TikZ diagrams using external viewers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddisplayPDF(File pdfFile) Displays a PDF file using an external viewer.static voiddisplayPDF(File pdfFile, String title) Displays a PDF file using an external viewer.static booleanChecks if a PDF viewer is available on the system.
-
Constructor Details
-
TikZViewer
public TikZViewer()
-
-
Method Details
-
displayPDF
Displays a PDF file using an external viewer.- Parameters:
pdfFile- The PDF file to display
-
displayPDF
Displays a PDF file using an external viewer.- Parameters:
pdfFile- The PDF file to displaytitle- Optional title for logging
-
isPdfViewerAvailable
public static boolean isPdfViewerAvailable()Checks if a PDF viewer is available on the system.
-