org.apache.fop.render.bitmap

## Class PNGRendererMaker

- java.lang.Object
- - org.apache.fop.render.AbstractRendererMaker
  - - org.apache.fop.render.bitmap.PNGRendererMaker

-     public class PNGRendererMaker
      extends AbstractRendererMaker

  RendererMaker for the PNG Renderer.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PNGRendererMaker()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configureRenderer(FOUserAgent userAgent, Renderer renderer)` Configures a given renderer using the appropriate configurator.
    `String[]` | `getSupportedMimeTypes()`
    `Renderer` | `makeRenderer(FOUserAgent ua)` Instantiates a new renderer.
    `boolean` | `needsOutputStream()`

    - ### Methods inherited from class org.apache.fop.render.AbstractRendererMaker

      `isMimeTypeSupported`

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

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

- - ### Constructor Detail

    - #### PNGRendererMaker

          public PNGRendererMaker()

  - ### Method Detail

    - #### makeRenderer

          public Renderer makeRenderer(FOUserAgent ua)

      Description copied from class: `AbstractRendererMaker`
      Instantiates a new renderer.
      Specified by:
        `makeRenderer` in class `AbstractRendererMaker`
      Parameters:
        `ua` - the user agent
      Returns:
        the newly instantiated renderer

    - #### configureRenderer

          public void configureRenderer(FOUserAgent userAgent,
                                        Renderer renderer)
                                 throws FOPException

      Description copied from class: `AbstractRendererMaker`
      Configures a given renderer using the appropriate configurator.
      Specified by:
        `configureRenderer` in class `AbstractRendererMaker`
      Parameters:
        `userAgent` - user agent
        `renderer` - the renderer that is to be configured
      Throws:
        `FOPException`

    - #### needsOutputStream

          public boolean needsOutputStream()

      Specified by:
        `needsOutputStream` in class `AbstractRendererMaker`
      Returns:
        Indicates whether this renderer requires an OutputStream to work with.

    - #### getSupportedMimeTypes

          public String[] getSupportedMimeTypes()

      Specified by:
        `getSupportedMimeTypes` in class `AbstractRendererMaker`
      Returns:
        an array of MIME types the renderer supports.

Copyright © 2023 Apache Software Foundation. All rights reserved.