org.freehep.postscript
Class VirtualDevice
java.lang.Object
org.freehep.postscript.PSDevice
org.freehep.postscript.VirtualDevice
- All Implemented Interfaces:
- DSCEventListener
public class VirtualDevice
- extends PSDevice
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualDevice
public VirtualDevice(Graphics2D graphics,
Dimension dimension)
getWidth
public double getWidth()
- Specified by:
getWidth
in class PSDevice
getHeight
public double getHeight()
- Specified by:
getHeight
in class PSDevice
convertToImage
public BufferedImage convertToImage(int width,
int height)
- Specified by:
convertToImage
in class PSDevice
getGraphics
public Graphics2D getGraphics()
- Overrides:
getGraphics
in class PSDevice
getDeviceTransform
public AffineTransform getDeviceTransform()
- Specified by:
getDeviceTransform
in class PSDevice
getDeviceGraphics
public Graphics getDeviceGraphics()
- Specified by:
getDeviceGraphics
in class PSDevice
refresh
public void refresh()
- Specified by:
refresh
in class PSDevice
Copyright © 2000-2006 FreeHEP. All Rights Reserved.