com.partnersoft.maps.render
Class TextRenderer

java.lang.Object
  extended by com.partnersoft.maps.render.TextRenderer

public class TextRenderer
extends java.lang.Object

Renders text to bitmaps for use in the map renderer.

Author:
Paul Reavis Copyright 2003 Partner Software, Inc.

Constructor Summary
TextRenderer()
           
 
Method Summary
 AlphaBuffer renderTextAlpha(FontSpecification fontSpec, double rotation, java.lang.String text)
           
 AlphaBuffer renderTextAlpha(FontSpecification fontSpec, java.lang.String text)
           
 RGBBuffer renderTextRGB(FontSpecification fontSpec, java.lang.String text)
           
static TextRenderer singleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextRenderer

public TextRenderer()
Method Detail

singleton

public static TextRenderer singleton()

renderTextRGB

public RGBBuffer renderTextRGB(FontSpecification fontSpec,
                               java.lang.String text)

renderTextAlpha

public AlphaBuffer renderTextAlpha(FontSpecification fontSpec,
                                   java.lang.String text)

renderTextAlpha

public AlphaBuffer renderTextAlpha(FontSpecification fontSpec,
                                   double rotation,
                                   java.lang.String text)