Flying Saucer Project Release ${app.version}

org.xhtmlrenderer.pdf
Class PDFAsImage

java.lang.Object
  extended by org.xhtmlrenderer.pdf.PDFAsImage
All Implemented Interfaces:
FSImage

public class PDFAsImage
extends java.lang.Object
implements FSImage


Constructor Summary
PDFAsImage(java.net.URL source)
           
 
Method Summary
 int getHeight()
           
 float getHeightAsFloat()
           
 float getUnscaledHeight()
           
 float getUnscaledWidth()
           
 java.net.URL getURL()
           
 int getWidth()
           
 float getWidthAsFloat()
           
 void scale(int width, int height)
           
 float scaleHeight()
           
 float scaleWidth()
           
 void setInitialHeight(float height)
           
 void setInitialWidth(float width)
           
 void setUnscaledHeight(float unscaledHeight)
           
 void setUnscaledWidth(float unscaledWidth)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFAsImage

public PDFAsImage(java.net.URL source)
Method Detail

getWidth

public int getWidth()
Specified by:
getWidth in interface FSImage

getHeight

public int getHeight()
Specified by:
getHeight in interface FSImage

scale

public void scale(int width,
                  int height)
Specified by:
scale in interface FSImage

getURL

public java.net.URL getURL()

setInitialWidth

public void setInitialWidth(float width)

setInitialHeight

public void setInitialHeight(float height)

getWidthAsFloat

public float getWidthAsFloat()

getHeightAsFloat

public float getHeightAsFloat()

getUnscaledHeight

public float getUnscaledHeight()

setUnscaledHeight

public void setUnscaledHeight(float unscaledHeight)

getUnscaledWidth

public float getUnscaledWidth()

setUnscaledWidth

public void setUnscaledWidth(float unscaledWidth)

scaleHeight

public float scaleHeight()

scaleWidth

public float scaleWidth()

Flying Saucer Project Release ${app.version}

Flying Saucer Project Home