Graphics.setFont

Graphics.setFont

Class Overview | Class Members | This Package | All Packages

Syntax
public abstract void setFont( Font font )
Parameters
font
the font.
Description
Sets this graphics context's font to the specified font. All subsequent text operations using this graphics context use this font.

See Also
getFont, drawChars, drawString, drawBytes