Package org.apache.fop.afp
Class AFPDitheredRectanglePainter
- java.lang.Object
-
- org.apache.fop.afp.AbstractAFPPainter
-
- org.apache.fop.afp.AFPDitheredRectanglePainter
-
public class AFPDitheredRectanglePainter extends AbstractAFPPainter
A painter of rectangles in AFP
-
-
Field Summary
Fields Modifier and Type Field Description private AFPResourceManager
resourceManager
-
Fields inherited from class org.apache.fop.afp.AbstractAFPPainter
dataStream, log, paintingState
-
-
Constructor Summary
Constructors Constructor Description AFPDitheredRectanglePainter(AFPPaintingState paintingState, DataStream dataStream, AFPResourceManager resourceManager)
Main constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(PaintingInfo paintInfo)
Paints the painting item
-
-
-
Field Detail
-
resourceManager
private AFPResourceManager resourceManager
-
-
Constructor Detail
-
AFPDitheredRectanglePainter
public AFPDitheredRectanglePainter(AFPPaintingState paintingState, DataStream dataStream, AFPResourceManager resourceManager)
Main constructor- Parameters:
paintingState
- the AFP painting statedataStream
- the AFP datastreamresourceManager
- the resource manager
-
-
Method Detail
-
paint
public void paint(PaintingInfo paintInfo) throws java.io.IOException
Paints the painting item- Specified by:
paint
in classAbstractAFPPainter
- Parameters:
paintInfo
- the painting information- Throws:
java.io.IOException
- if an I/O error occurs
-
-