com.caucho.quercus.lib.pdf
Class PDFImage

java.lang.Object
  extended by com.caucho.quercus.lib.pdf.PDFObject
      extended by com.caucho.quercus.lib.pdf.PDFImage

public class PDFImage
extends PDFObject

deals with an image


Constructor Summary
PDFImage(Path path)
           
 
Method Summary
 double get_height()
           
 double get_width()
           
 int getId()
          Returns the object id.
 void setId(int id)
          Sets the object id.
 void writeObject(PDFWriter out)
          Writes the object to the stream
 void writeObjectNew(PDFWriter out)
          Writes the object to the stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFImage

public PDFImage(Path path)
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getId

public int getId()
Returns the object id.

Specified by:
getId in class PDFObject

setId

public void setId(int id)
Sets the object id.


get_width

public double get_width()

get_height

public double get_height()

writeObjectNew

public void writeObjectNew(PDFWriter out)
                    throws java.io.IOException
Writes the object to the stream

Throws:
java.io.IOException

writeObject

public void writeObject(PDFWriter out)
                 throws java.io.IOException
Description copied from class: PDFObject
Writes the object to the stream

Specified by:
writeObject in class PDFObject
Throws:
java.io.IOException