Class AFPDitheredRectanglePainter


  • public class AFPDitheredRectanglePainter
    extends AbstractAFPPainter
    A painter of rectangles in AFP
    • Constructor Detail

      • AFPDitheredRectanglePainter

        public AFPDitheredRectanglePainter​(AFPPaintingState paintingState,
                                           DataStream dataStream,
                                           AFPResourceManager resourceManager)
        Main constructor
        Parameters:
        paintingState - the AFP painting state
        dataStream - the AFP datastream
        resourceManager - the resource manager
    • Method Detail

      • paint

        public void paint​(PaintingInfo paintInfo)
                   throws java.io.IOException
        Paints the painting item
        Specified by:
        paint in class AbstractAFPPainter
        Parameters:
        paintInfo - the painting information
        Throws:
        java.io.IOException - if an I/O error occurs