org.xhtmlrenderer.pdf
Class PDFAsImage
java.lang.Object
org.xhtmlrenderer.pdf.PDFAsImage
- All Implemented Interfaces:
- FSImage
public class PDFAsImage
- extends java.lang.Object
- implements FSImage
Constructor Summary |
PDFAsImage(java.net.URL source)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFAsImage
public PDFAsImage(java.net.URL source)
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 Home