AFPBorderPainter
, AFPDitheredRectanglePainter
, AFPRectanglePainter
public abstract class AbstractAFPPainter
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected DataStream |
dataStream |
data stream
|
protected static org.apache.commons.logging.Log |
log |
Static logging instance
|
protected AFPPaintingState |
paintingState |
painting state
|
Constructor | Description |
---|---|
AbstractAFPPainter(AFPPaintingState paintingState,
DataStream dataStream) |
Main constructor
|
Modifier and Type | Method | Description |
---|---|---|
abstract void |
paint(PaintingInfo paintInfo) |
Paints the painting item
|
protected static final org.apache.commons.logging.Log log
protected final DataStream dataStream
protected final AFPPaintingState paintingState
public AbstractAFPPainter(AFPPaintingState paintingState, DataStream dataStream)
paintingState
- the AFP painting statedataStream
- the AFP Datastreampublic abstract void paint(PaintingInfo paintInfo) throws java.io.IOException
paintInfo
- the painting informationjava.io.IOException
- if an I/O error occursCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.