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 DataStream
data streamprotected static final org.apache.commons.logging.Log
Static logging instanceprotected final AFPPaintingState
painting state -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAFPPainter
(AFPPaintingState paintingState, DataStream dataStream) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract void
paint
(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
-