Package org.apache.fop.render.afp
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final Rectangleprivate final BorderPropsprivate final BorderPropsprivate final BorderPropsprivate final BorderPropsprivate final doubleprivate final Colorprivate final boolean[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBorderImagePainter(double cornerCorrectionFactor, Rectangle borderRect, BorderProps bpsStart, BorderProps bpsEnd, BorderProps bpsBefore, BorderProps bpsAfter, boolean[] roundCorner, Color innerBackgroundColor) -
Method Summary
-
Field Details
-
cornerCorrectionFactor
private final double cornerCorrectionFactor -
borderRect
-
bpsStart
-
bpsEnd
-
bpsBefore
-
bpsAfter
-
roundCorner
private final boolean[] roundCorner -
innerBackgroundColor
-
-
Constructor Details
-
BorderImagePainter
private BorderImagePainter(double cornerCorrectionFactor, Rectangle borderRect, BorderProps bpsStart, BorderProps bpsEnd, BorderProps bpsBefore, BorderProps bpsAfter, boolean[] roundCorner, Color innerBackgroundColor)
-
-
Method Details
-
paint
- Specified by:
paintin interfaceorg.apache.xmlgraphics.java2d.Graphics2DImagePainter
-
getImageSize
- Specified by:
getImageSizein interfaceorg.apache.xmlgraphics.java2d.Graphics2DImagePainter
-