de.matthiasmann.twl.renderer
Interface Font2

All Superinterfaces:
Font, Resource
All Known Implementing Classes:
LWJGLFont

public interface Font2
extends Font

Extended font rendering API


Method Summary
 AttributedStringFontCache cacheMultiLineText(AttributedStringFontCache prevCache, AttributedString attributedString)
           
 AttributedStringFontCache cacheMultiLineText(AttributedStringFontCache prevCache, AttributedString attributedString, int start, int end)
           
 AttributedStringFontCache cacheText(AttributedStringFontCache prevCache, AttributedString attributedString)
           
 AttributedStringFontCache cacheText(AttributedStringFontCache prevCache, AttributedString attributedString, int start, int end)
           
 void drawMultiLineText(int x, int y, AttributedString attributedString)
           
 void drawMultiLineText(int x, int y, AttributedString attributedString, int start, int end)
           
 int drawText(int x, int y, AttributedString attributedString)
           
 int drawText(int x, int y, AttributedString attributedString, int start, int end)
           
 
Methods inherited from interface de.matthiasmann.twl.renderer.Font
cacheMultiLineText, cacheText, cacheText, computeMultiLineTextWidth, computeTextWidth, computeTextWidth, computeVisibleGlpyhs, drawMultiLineText, drawText, drawText, getBaseLine, getEM, getEX, getLineHeight, getSpaceWidth, isProportional
 
Methods inherited from interface de.matthiasmann.twl.renderer.Resource
destroy
 

Method Detail

drawText

int drawText(int x,
             int y,
             AttributedString attributedString)

drawText

int drawText(int x,
             int y,
             AttributedString attributedString,
             int start,
             int end)

drawMultiLineText

void drawMultiLineText(int x,
                       int y,
                       AttributedString attributedString)

drawMultiLineText

void drawMultiLineText(int x,
                       int y,
                       AttributedString attributedString,
                       int start,
                       int end)

cacheText

AttributedStringFontCache cacheText(AttributedStringFontCache prevCache,
                                    AttributedString attributedString)

cacheText

AttributedStringFontCache cacheText(AttributedStringFontCache prevCache,
                                    AttributedString attributedString,
                                    int start,
                                    int end)

cacheMultiLineText

AttributedStringFontCache cacheMultiLineText(AttributedStringFontCache prevCache,
                                             AttributedString attributedString)

cacheMultiLineText

AttributedStringFontCache cacheMultiLineText(AttributedStringFontCache prevCache,
                                             AttributedString attributedString,
                                             int start,
                                             int end)