Package cz.vutbr.fit.layout.io
Class ImageOutputDisplay
- java.lang.Object
-
- cz.vutbr.fit.layout.io.Graphics2DDisplay
-
- cz.vutbr.fit.layout.io.ImageOutputDisplay
-
- All Implemented Interfaces:
OutputDisplay
public class ImageOutputDisplay extends Graphics2DDisplay
- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description ImageOutputDisplay(int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saveTo(OutputStream os)
void
saveTo(String path)
-
Methods inherited from class cz.vutbr.fit.layout.io.Graphics2DDisplay
clearArea, colorizeByClass, colorizeByTags, drawBox, drawConnection, drawExtent, drawExtent, drawPage, drawPage, drawRectangle, getGraphics, setGraphics, setupGraphics, stringColor
-
-
-
-
Method Detail
-
saveTo
public void saveTo(String path) throws IOException
- Throws:
IOException
-
saveTo
public void saveTo(OutputStream os) throws IOException
- Throws:
IOException
-
-