Class Java2DRendererBuilder.Graphics2DPaintingReplacedElement

  • All Implemented Interfaces:
    com.openhtmltopdf.extend.ReplacedElement
    Direct Known Subclasses:
    Java2DObjectDrawerReplacedElement, Java2DSVGReplacedElement
    Enclosing class:
    Java2DRendererBuilder

    public abstract static class Java2DRendererBuilder.Graphics2DPaintingReplacedElement
    extends com.openhtmltopdf.swing.EmptyReplacedElement
    This class is internal to this library, please do not use or override it!
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double DOTS_PER_INCH  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void paint​(com.openhtmltopdf.extend.OutputDevice outputDevice, com.openhtmltopdf.render.RenderingContext ctx, double x, double y, double width, double height)  
      • Methods inherited from class com.openhtmltopdf.swing.EmptyReplacedElement

        detach, getBaseline, getIntrinsicHeight, getIntrinsicWidth, getLocation, hasBaseline, isRequiresInteractivePaint, setLocation
    • Field Detail

      • DOTS_PER_INCH

        public static double DOTS_PER_INCH
    • Constructor Detail

      • Graphics2DPaintingReplacedElement

        protected Graphics2DPaintingReplacedElement​(int width,
                                                    int height)
    • Method Detail

      • paint

        public abstract void paint​(com.openhtmltopdf.extend.OutputDevice outputDevice,
                                   com.openhtmltopdf.render.RenderingContext ctx,
                                   double x,
                                   double y,
                                   double width,
                                   double height)