Class Java2DReplacedElementFactory

java.lang.Object
com.openhtmltopdf.java2d.Java2DReplacedElementFactory
All Implemented Interfaces:
com.openhtmltopdf.extend.ReplacedElementFactory

public class Java2DReplacedElementFactory
extends Object
implements com.openhtmltopdf.extend.ReplacedElementFactory
  • Constructor Summary

    Constructors
    Constructor Description
    Java2DReplacedElementFactory​(com.openhtmltopdf.extend.SVGDrawer svgImpl, com.openhtmltopdf.extend.FSObjectDrawerFactory objectDrawerFactory, com.openhtmltopdf.extend.SVGDrawer mathMLImpl)  
  • Method Summary

    Modifier and Type Method Description
    com.openhtmltopdf.extend.ReplacedElement createReplacedElement​(com.openhtmltopdf.layout.LayoutContext context, com.openhtmltopdf.render.BlockBox box, com.openhtmltopdf.extend.UserAgentCallback uac, int cssWidth, int cssHeight)  
    boolean isReplacedElement​(Element e)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Java2DReplacedElementFactory

      public Java2DReplacedElementFactory​(com.openhtmltopdf.extend.SVGDrawer svgImpl, com.openhtmltopdf.extend.FSObjectDrawerFactory objectDrawerFactory, com.openhtmltopdf.extend.SVGDrawer mathMLImpl)
  • Method Details

    • createReplacedElement

      public com.openhtmltopdf.extend.ReplacedElement createReplacedElement​(com.openhtmltopdf.layout.LayoutContext context, com.openhtmltopdf.render.BlockBox box, com.openhtmltopdf.extend.UserAgentCallback uac, int cssWidth, int cssHeight)
      Specified by:
      createReplacedElement in interface com.openhtmltopdf.extend.ReplacedElementFactory
    • isReplacedElement

      public boolean isReplacedElement​(Element e)
      Specified by:
      isReplacedElement in interface com.openhtmltopdf.extend.ReplacedElementFactory