org.icepdf.core.pobjects.graphics
Class ScaledImageReference
java.lang.Object
org.icepdf.core.pobjects.graphics.ImageReference
org.icepdf.core.pobjects.graphics.CachedImageReference
org.icepdf.core.pobjects.graphics.ScaledImageReference
- All Implemented Interfaces:
- java.util.concurrent.Callable<java.awt.image.BufferedImage>
public class ScaledImageReference
- extends CachedImageReference
The ScaledImageReference stores the original image data as well as several
smaller images instances which are painted at lower zoom values to improve
paint speeds.
- Since:
- 5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaledImageReference
protected ScaledImageReference(ImageStream imageStream,
java.awt.Color fillColor,
Resources resources)
ScaledImageReference
public ScaledImageReference(ImageReference imageReference,
java.awt.Color fillColor,
Resources resources,
int width,
int height)
getWidth
public int getWidth()
- Specified by:
getWidth in class ImageReference
getHeight
public int getHeight()
- Specified by:
getHeight in class ImageReference
call
public java.awt.image.BufferedImage call()