## Uses of Interface
org.apache.xmlgraphics.java2d.TextHandler

- Packages that use TextHandler
  Package | Description
  --- | ---
  org.apache.xmlgraphics.java2d | Provides convenience base and utility classes for subclassing the `java.awt.Graphics2D` class in order to translate Java 2D primitives into another graphic format.
  org.apache.xmlgraphics.java2d.ps | Graphics2D implementations for generating PostScript and Encapsulated PostScript (EPS) files.

- - ### Uses of TextHandler in org.apache.xmlgraphics.java2d

    Classes in org.apache.xmlgraphics.java2d that implement TextHandler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StrokingTextHandler` Default TextHandler implementation which paints text using graphics primitives (shapes).

  - ### Uses of TextHandler in org.apache.xmlgraphics.java2d.ps

    Subinterfaces of TextHandler in org.apache.xmlgraphics.java2d.ps
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `PSTextHandler` Interface which the Graphics2D class delegates text painting to for Postscript.

    Fields in org.apache.xmlgraphics.java2d.ps declared as TextHandler
    Modifier and Type | Field and Description
    --- | ---
    `protected TextHandler` | PSGraphics2D.`customTextHandler` Custom text handler
    `protected TextHandler` | PSGraphics2D.`fallbackTextHandler` Fallback text handler

    Methods in org.apache.xmlgraphics.java2d.ps that return TextHandler
    Modifier and Type | Method and Description
    --- | ---
    `TextHandler` | PSGraphics2D.`getCustomTextHandler()`
    `TextHandler` | PSGraphics2D.`getFallbackTextHandler()`

    Methods in org.apache.xmlgraphics.java2d.ps with parameters of type TextHandler
    Modifier and Type | Method and Description
    --- | ---
    `void` | PSGraphics2D.`setCustomTextHandler(TextHandler handler)` Sets a custom TextHandler implementation that is responsible for painting text.

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