org.apache.xmlgraphics.image.loader.impl
Class ImageRawEPS
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.AbstractImage
org.apache.xmlgraphics.image.loader.impl.ImageRawStream
org.apache.xmlgraphics.image.loader.impl.ImageRawEPS
- All Implemented Interfaces:
- Image
public class ImageRawEPS
- extends ImageRawStream
This class is an implementation of the Image interface exposing EPS file. It provides an
InputStream to access the EPS content and the decoded high-res bounding box.
Method Summary |
java.awt.geom.Rectangle2D |
getBoundingBox()
Returns the bounding box of the EPS image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ImageRawEPS
public ImageRawEPS(ImageInfo info,
ImageRawStream.InputStreamFactory streamFactory)
- Main constructor.
- Parameters:
info
- the image info objectstreamFactory
- the InputStreamFactory that is used to create InputStream instances
ImageRawEPS
public ImageRawEPS(ImageInfo info,
java.io.InputStream in)
- Main constructor.
- Parameters:
info
- the image info objectin
- the InputStream with the raw content
getBoundingBox
public java.awt.geom.Rectangle2D getBoundingBox()
- Returns the bounding box of the EPS image.
- Returns:
- the bounding box
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.