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 inherited from class org.apache.fop.afp.AbstractAFPPainter

      `dataStream, log, paintingState`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AFPDitheredRectanglePainter(AFPPaintingState paintingState, DataStream dataStream, AFPResourceManager resourceManager)` Main constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `paint(PaintingInfo paintInfo)` Paints the painting item

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.