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 GraphicsOutputjava.io.IOExceptionpublic java.awt.Graphics getGraphics()
getGraphics in interface GraphicsOutputpublic java.awt.Graphics2D getGraphics2D()
getGraphics2D in interface GraphicsOutputpublic void setOutputStream(java.io.OutputStream out)
setOutputStream in interface GraphicsOutputpublic void setSize(int width,
int height)
setSize in interface GraphicsOutputpublic void start()
start in interface GraphicsOutput