A painter capable of painting a string using the alignment of its PaintContext. If the string contains newlines, multiple lines of text will be painted.
This class uses new APIs in Java2 and propertly works with BufferedImages.
This TextPainter should be used for all String objects used in the ImageGenerator.
@version $Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/painter/TextPainter.java#1 $) $Date: 11-nov-2005.14:59:38 $
@author The Oracle ADF Faces Team