Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.java2d
Interface TextHandler

All Known Subinterfaces:
  PSTextHandler

All Known Implementing Classes:
  StrokingTextHandler

    public interface TextHandler

Interface which the Graphics2D class delegates text painting to.

Method Summary
`void` | `drawString(Graphics2D g2d, String text, float x, float y)` Draw some text.

Method Detail

### drawString

    void drawString(Graphics2D g2d,
                    String text,
                    float x,
                    float y)
                    throws IOException

  Draw some text.

  Parameters:
    `g2d` - the graphics 2D implementation
    `text` - the text to paint
    `x` - the x-coordinate where the `String` should be rendered
    `y` - the y-coordinate where the `String` should be rendered
  Throws:
    `IOException` - In case of an I/O error

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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