dump


Description:

public int dump (Context context, int start, Color fg, Color bg)

Draws as many glyphs as possible in the clip box of the specified context.

If all of the glyphs do no fit, an index will be returned. This index can be passed to start to draw the next "page" of glyphs.

Parameters:

this

the font

context

the drawing context

start

the starting glyph index

fg

the forground color

bg

the background color

Returns:

the index of the first glyph that was not drawn or -1 if all of the glyphs were drawn