Uses of Class org.apache.fop.afp.AFPPaintingState (Apache FOP Core 2.11 API)
Date: 2025-04-24

## Uses of Class
org.apache.fop.afp.AFPPaintingState

- Packages that use AFPPaintingState
  Package | Description
  --- | ---
  org.apache.fop.afp | Contains an AFP library.
  org.apache.fop.render.afp | An AFP Renderer implementation and supporting classes.

- - ### Uses of AFPPaintingState in org.apache.fop.afp

    Fields in org.apache.fop.afp declared as AFPPaintingState
    Modifier and Type | Field and Description
    --- | ---
    `protected AFPPaintingState` | AbstractAFPPainter.`paintingState` painting state

    Methods in org.apache.fop.afp that return AFPPaintingState
    Modifier and Type | Method and Description
    --- | ---
    `AFPPaintingState` | AFPGraphics2D.`getPaintingState()` Returns the AFP painting state

    Methods in org.apache.fop.afp with parameters of type AFPPaintingState
    Modifier and Type | Method and Description
    --- | ---
    `DataStream` | AFPStreamer.`createDataStream(AFPPaintingState paintingState)` Creates a new DataStream
    `DataStream` | AFPResourceManager.`createDataStream(AFPPaintingState paintingState, OutputStream outputStream)` Sets the outputstream
    `DataStream` | Factory.`createDataStream(AFPPaintingState paintingState, OutputStream outputStream)` Creates a new `DataStream`

    Constructors in org.apache.fop.afp with parameters of type AFPPaintingState
    Constructor and Description
    `AbstractAFPPainter(AFPPaintingState paintingState, DataStream dataStream)` Main constructor
    `AFPBorderPainter(AFPPaintingState paintingState, DataStream dataStream)` Main constructor
    `AFPDitheredRectanglePainter(AFPPaintingState paintingState, DataStream dataStream, AFPResourceManager resourceManager)` Main constructor
    `AFPGraphics2D(boolean textAsShapes, AFPPaintingState paintingState, AFPResourceManager resourceManager, AFPResourceInfo resourceInfo, FontInfo fontInfo)` Main constructor
    `AFPRectanglePainter(AFPPaintingState paintingState, DataStream dataStream, AFPResourceManager resourceManager)` Main constructor
    `AFPUnitConverter(AFPPaintingState paintingState)` Unit converter
    `DataStream(Factory factory, AFPPaintingState paintingState, OutputStream outputStream)` Default constructor for the AFPDocumentStream.

  - ### Uses of AFPPaintingState in org.apache.fop.render.afp

    Methods in org.apache.fop.render.afp that return AFPPaintingState
    Modifier and Type | Method and Description
    --- | ---
    `AFPPaintingState` | AFPRenderingContext.`getPaintingState()`
    `AFPPaintingState` | AFPInfo.`getPaintingState()` Returns the current AFP state

    Methods in org.apache.fop.render.afp with parameters of type AFPPaintingState
    Modifier and Type | Method and Description
    --- | ---
    `static AFPObjectAreaInfo` | AFPImageHandler.`createObjectAreaInfo(AFPPaintingState paintingState, Rectangle targetRect)` Creates and returns an `AFPObjectAreaInfo` instance for the placement of the image.
    `void` | AFPInfo.`setPaintingState(AFPPaintingState paintingState)` Sets the AFP state

    Constructors in org.apache.fop.render.afp with parameters of type AFPPaintingState
    Constructor and Description
    `AFPGraphics2DAdapter(AFPPaintingState paintingState)` Main constructor
    `AFPRenderingContext(FOUserAgent userAgent, AFPResourceManager resourceManager, AFPPaintingState paintingState, FontInfo fontInfo, Map foreignAttributes)` Main constructor.

Copyright © 2025 Apache Software Foundation. All rights reserved.