Class PdfBoxImageElement

    • Constructor Detail

      • PdfBoxImageElement

        public PdfBoxImageElement​(Element e,
                                  com.openhtmltopdf.extend.FSImage image,
                                  com.openhtmltopdf.layout.SharedContext c,
                                  boolean interpolate)
    • Method Detail

      • getIntrinsicWidth

        public int getIntrinsicWidth()
        Specified by:
        getIntrinsicWidth in interface com.openhtmltopdf.extend.ReplacedElement
      • getIntrinsicHeight

        public int getIntrinsicHeight()
        Specified by:
        getIntrinsicHeight in interface com.openhtmltopdf.extend.ReplacedElement
      • getLocation

        public Point getLocation()
        Specified by:
        getLocation in interface com.openhtmltopdf.extend.ReplacedElement
      • setLocation

        public void setLocation​(int x,
                                int y)
        Specified by:
        setLocation in interface com.openhtmltopdf.extend.ReplacedElement
      • getImage

        public com.openhtmltopdf.extend.FSImage getImage()
      • detach

        public void detach​(com.openhtmltopdf.layout.LayoutContext c)
        Specified by:
        detach in interface com.openhtmltopdf.extend.ReplacedElement
      • isRequiresInteractivePaint

        public boolean isRequiresInteractivePaint()
        Specified by:
        isRequiresInteractivePaint in interface com.openhtmltopdf.extend.ReplacedElement
      • getBaseline

        public int getBaseline()
        Specified by:
        getBaseline in interface com.openhtmltopdf.extend.ReplacedElement
      • hasBaseline

        public boolean hasBaseline()
        Specified by:
        hasBaseline in interface com.openhtmltopdf.extend.ReplacedElement