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

com.openhtmltopdf.extend.OutputDeviceGraphicsDrawer Maven / Gradle / Ivy

Go to download

Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.

There is a newer version: 1.0.10
Show newest version
package com.openhtmltopdf.extend;

import java.awt.*;

/**
 * Render something on a Graphics2D on the OutputDevice.
 *
 * Intented to be a FunctionalInterface in Java 8.
 */
public interface OutputDeviceGraphicsDrawer {

	/**
	 * Draw something using the given graphics. For PDFs it will be converted to vector drawings.
	 * @param graphics2D the graphics you can use to draw
	 */
	public void render(Graphics2D graphics2D);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy