Package jline.io.tikz
Class TikZViewer
-
- All Implemented Interfaces:
public class TikZViewerDisplays PDF files generated from TikZ diagrams using external viewers.
-
-
Constructor Summary
Constructors Constructor Description TikZViewer()
-
Method Summary
Modifier and Type Method Description static 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 booleanisPdfViewerAvailable()Checks if a PDF viewer is available on the system. -
-
Method Detail
-
displayPDF
static void displayPDF(File pdfFile)
Displays a PDF file using an external viewer.
- Parameters:
pdfFile- The PDF file to display
-
displayPDF
static void displayPDF(File pdfFile, String title)
Displays a PDF file using an external viewer.
- Parameters:
pdfFile- The PDF file to displaytitle- Optional title for logging
-
isPdfViewerAvailable
static boolean isPdfViewerAvailable()
Checks if a PDF viewer is available on the system.
-
-
-
-