PenProfile 2.x

com.livescribe.display
Interface TextRenderer


public interface TextRenderer

TextRenderer defines methods to render text on the Graphics destination. This interface is implemented by a concrete implementation of Font class.

Since:
0.4

Method Summary
 void render(Graphics destination, String text, int offset, int len, int x, int y)
          Render the text from the specified offset onto the destination graphics at a particular location.
 

Method Detail

render

void render(Graphics destination,
            String text,
            int offset,
            int len,
            int x,
            int y)
Render the text from the specified offset onto the destination graphics at a particular location.

Parameters:
destination - the graphics instance where the text should be rendered.
text - the String to be rendered
offset - 0-based index within the text at which rendering should start.
len - number of characters of the text that should be rendered.
x - x-location
y - y-location

PenProfile 2.x

Copyright © 2010 Livescribe Inc. All Rights Reserved.
Confidential and subject to NDA.