Package org.apache.fop.afp
Class AbstractAFPPainter
java.lang.Object
org.apache.fop.afp.AbstractAFPPainter
- Direct Known Subclasses:
AFPBorderPainter,AFPDitheredRectanglePainter,AFPRectanglePainter
A base AFP painter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DataStreamdata streamprotected static final org.apache.commons.logging.LogStatic logging instanceprotected final AFPPaintingStatepainting state -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAFPPainter(AFPPaintingState paintingState, DataStream dataStream) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract voidpaint(PaintingInfo paintInfo) Paints the painting item
-
Field Details
-
log
protected static final org.apache.commons.logging.Log logStatic logging instance -
dataStream
data stream -
paintingState
painting state
-
-
Constructor Details
-
AbstractAFPPainter
Main constructor- Parameters:
paintingState- the AFP painting statedataStream- the AFP Datastream
-
-
Method Details
-
paint
Paints the painting item- Parameters:
paintInfo- the painting information- Throws:
IOException- if an I/O error occurs
-