org.freehep.postscript.device
Class ImageDevice
java.lang.Object
org.freehep.postscript.types.PSDevice
org.freehep.postscript.device.ImageDevice
- All Implemented Interfaces:
- DSCEventListener
public class ImageDevice
- extends PSDevice
- Author:
- Mark Donszelmann (Mark.Donszelmann@gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageDevice
public ImageDevice(int width,
int height)
ImageDevice
public ImageDevice(Container container,
int width,
int height)
getDeviceGraphics
public Graphics getDeviceGraphics()
- Specified by:
getDeviceGraphics
in class PSDevice
getDeviceTransform
public AffineTransform getDeviceTransform()
- Specified by:
getDeviceTransform
in class PSDevice
getHeight
public double getHeight()
- Specified by:
getHeight
in class PSDevice
getWidth
public double getWidth()
- Specified by:
getWidth
in class PSDevice
refresh
public void refresh()
- Specified by:
refresh
in class PSDevice
getGraphics
public Graphics2D getGraphics()
- Overrides:
getGraphics
in class PSDevice
createImageDevice
public ImageDevice createImageDevice(int width,
int height)
- Specified by:
createImageDevice
in class PSDevice
getImage
public BufferedImage getImage()
- Returns:
Copyright © 2001-2009 FreeHEP. All Rights Reserved.