Class PDFAsImage

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

public class PDFAsImage extends Object implements org.xhtmlrenderer.extend.FSImage
  • Constructor Details

    • PDFAsImage

      public PDFAsImage(URI source, float width, float height)
  • Method Details

    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface org.xhtmlrenderer.extend.FSImage
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface org.xhtmlrenderer.extend.FSImage
    • scale

      public @NonNull org.xhtmlrenderer.extend.FSImage scale(int width, int height)
      Specified by:
      scale in interface org.xhtmlrenderer.extend.FSImage
    • getURI

      public URI getURI()
    • getWidthAsFloat

      public float getWidthAsFloat()
    • getHeightAsFloat

      public float getHeightAsFloat()
    • getUnscaledHeight

      public float getUnscaledHeight()
    • getUnscaledWidth

      public float getUnscaledWidth()
    • scaleHeight

      public float scaleHeight()
    • scaleWidth

      public float scaleWidth()