TextOptions


Description:

public TextOptions (Font font, Color fg, Color bg = NONE, TextHAlign h_align = LEFT, TextVAlign v_align = TOP)

Allocate a text options structure.

This structure is passed to text drawing functions to provide information on how to draw the text.

Parameters:

font

the font

fg

the forground color

bg

the background color

h_align

the horizontal alignment

v_align

the vertical alignment

Returns:

the new TextOptions structure