Class AFPPainter.AFPBorderPainterAdapter.BorderImagePainter

java.lang.Object
org.apache.fop.render.afp.AFPPainter.AFPBorderPainterAdapter.BorderImagePainter
All Implemented Interfaces:
org.apache.xmlgraphics.java2d.Graphics2DImagePainter
Enclosing class:
AFPPainter.AFPBorderPainterAdapter

private final class AFPPainter.AFPBorderPainterAdapter.BorderImagePainter extends Object implements org.apache.xmlgraphics.java2d.Graphics2DImagePainter
  • Field Details

    • cornerCorrectionFactor

      private final double cornerCorrectionFactor
    • borderRect

      private final Rectangle borderRect
    • bpsStart

      private final BorderProps bpsStart
    • bpsEnd

      private final BorderProps bpsEnd
    • bpsBefore

      private final BorderProps bpsBefore
    • bpsAfter

      private final BorderProps bpsAfter
    • roundCorner

      private final boolean[] roundCorner
    • innerBackgroundColor

      private final Color innerBackgroundColor
  • Constructor Details

  • Method Details

    • paint

      public void paint(Graphics2D g2d, Rectangle2D area)
      Specified by:
      paint in interface org.apache.xmlgraphics.java2d.Graphics2DImagePainter
    • getImageSize

      public Dimension getImageSize()
      Specified by:
      getImageSize in interface org.apache.xmlgraphics.java2d.Graphics2DImagePainter