org.apache.fop.afp

## Class AFPBorderPainter

- java.lang.Object
- - org.apache.fop.afp.AbstractAFPPainter
  - - org.apache.fop.afp.AFPBorderPainter

-     public class AFPBorderPainter
      extends AbstractAFPPainter

  Handles the drawing of borders/lines in AFP

- - ### Field Summary

    - ### Fields inherited from class org.apache.fop.afp.AbstractAFPPainter

      `dataStream, log, paintingState`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AFPBorderPainter(AFPPaintingState paintingState, DataStream dataStream)` 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

    - #### AFPBorderPainter

          public AFPBorderPainter(AFPPaintingState paintingState,
                                  DataStream dataStream)

      Main constructor
      Parameters:
        `paintingState` - the AFP painting state converter
        `dataStream` - the AFP datastream

  - ### Method Detail

    - #### paint

          public void paint(PaintingInfo paintInfo)

      Paints the painting item
      Specified by:
        `paint` in class `AbstractAFPPainter`
      Parameters:
        `paintInfo` - the painting information

Copyright © 2025 Apache Software Foundation. All rights reserved.