All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lowagie.text.pdf.PdfPrinterGraphics2D Maven / Gradle / Ivy

There is a newer version: 4.2.2
Show newest version
package com.lowagie.text.pdf;

import java.awt.print.PrinterGraphics;
import java.awt.print.PrinterJob;

/**
 * This is an extension class for the sole purpose of implementing the
 * {@link java.awt.print.PrinterGraphics PrinterGraphics} interface.
 */
public class PdfPrinterGraphics2D extends PdfGraphics2D implements PrinterGraphics
{
	private PrinterJob printerJob;
	
	public PdfPrinterGraphics2D(PdfContentByte cb, float width, float height, FontMapper fontMapper,
			boolean onlyShapes, boolean convertImagesToJPEG, float quality, PrinterJob printerJob)	{
		super(cb, width, height, fontMapper, onlyShapes, convertImagesToJPEG, quality);
		this.printerJob = printerJob;
	}

	public PrinterJob getPrinterJob()	{
		return printerJob;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy