Package org.rrd4j.graph
Class BufferedImageWorker
- java.lang.Object
-
- org.rrd4j.graph.ImageWorker
-
- org.rrd4j.graph.BufferedImageWorker
-
class BufferedImageWorker extends ImageWorker
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
BufferedImageWorker.Builder
-
Constructor Summary
Constructors Constructor Description BufferedImageWorker(int width, int height)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BufferedImageWorker.Builder
getBuilder()
protected void
makeImage(OutputStream stream)
protected void
reset(Graphics2D g2d)
reset the dimensions of theGraphics2D
protected void
resize(int width, int height)
-
Methods inherited from class org.rrd4j.graph.ImageWorker
clip, dispose, drawLine, drawPolyline, drawString, fillPolygon, fillPolygon, fillRect, getFontAscent, getFontHeight, getImageBytes, getStringWidth, loadImage, makeImage, reset, saveImage, setAntiAliasing, setG2d, setTextAntiAliasing, transform
-
-
-
-
Method Detail
-
getBuilder
public static BufferedImageWorker.Builder getBuilder()
-
resize
protected void resize(int width, int height)
- Specified by:
resize
in classImageWorker
-
reset
protected void reset(Graphics2D g2d)
Description copied from class:ImageWorker
reset the dimensions of theGraphics2D
- Specified by:
reset
in classImageWorker
-
makeImage
protected void makeImage(OutputStream stream) throws IOException
- Specified by:
makeImage
in classImageWorker
- Throws:
IOException
-
-