Graphics.getFontDescriptors

Overview | Methods | This Package | All Packages

Graphics.getFontDescriptors

Retrieves an array of FontDescriptor objects, which contains an entry for each font that matches the specified face name.

Syntax

public final FontDescriptor[] getFontDescriptors()

public final FontDescriptor[] getFontDescriptors( int charSet )

public final FontDescriptor[] getFontDescriptors( String name )

public final FontDescriptor[] getFontDescriptors( int charSet, String name )

Parameters

charSet

The character set for which to search.

name

The font's face name.

Return Value

Returns an array of FontDescriptor objects.