public class PngGraphicsOutput extends java.lang.Object implements GraphicsOutput
Constructor and Description |
---|
PngGraphicsOutput()
Creates a new instance of PngGraphicsOutput
|
Modifier and Type | Method and Description |
---|---|
void |
finish() |
java.awt.Graphics |
getGraphics() |
java.awt.Graphics2D |
getGraphics2D() |
void |
setOutputStream(java.io.OutputStream out) |
void |
setSize(int width,
int height) |
void |
start() |
public PngGraphicsOutput()
public void finish() throws java.io.IOException
finish
in interface GraphicsOutput
java.io.IOException
public java.awt.Graphics getGraphics()
getGraphics
in interface GraphicsOutput
public java.awt.Graphics2D getGraphics2D()
getGraphics2D
in interface GraphicsOutput
public void setOutputStream(java.io.OutputStream out)
setOutputStream
in interface GraphicsOutput
public void setSize(int width, int height)
setSize
in interface GraphicsOutput
public void start()
start
in interface GraphicsOutput