xmlgraphics-commons 1.3

org.apache.xmlgraphics.image.loader.impl
Class ImageRawEPS

java.lang.Object
  extended by org.apache.xmlgraphics.image.loader.impl.AbstractImage
      extended by org.apache.xmlgraphics.image.loader.impl.ImageRawStream
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.xmlgraphics.image.loader.impl.ImageRawStream
ImageRawStream.InputStreamFactory
 
Constructor Summary
ImageRawEPS(ImageInfo info, java.io.InputStream in)
          Main constructor.
 
Method Summary
 java.awt.geom.Rectangle2D getBoundingBox()
          Returns the bounding box of the EPS image.
 
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.ImageRawStream
createInputStream, getFlavor, isCacheable, setInputStreamFactory, writeTo, writeTo
 
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImage
getColorSpace, getICCProfile, getInfo, getSize, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageRawEPS

public ImageRawEPS(ImageInfo info,
                   java.io.InputStream in)
Main constructor.

Parameters:
info - the image info object
in - the InputStream with the raw content
Method Detail

getBoundingBox

public java.awt.geom.Rectangle2D getBoundingBox()
Returns the bounding box of the EPS image.

Returns:
the bounding box

xmlgraphics-commons 1.3

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.