FontDescriptor.FontDescriptor

Overview | Methods | Fields | This Package | All Packages

FontDescriptor.FontDescriptor

Creates a FontDescriptor object for the specified font as it will be rendered to a specified Graphics object.

Syntax

public FontDescriptor( Font font, Graphics g )

Parameters

font

A Font object that specifies the font on which to base the FontDescriptor object.

gr

The Graphics object to which the font will be rendered.