Font.equalsBase

Overview | Methods | Fields | This Package | All Packages

Font.equalsBase

Retrieves a boolean value that indicates whether the base font used by the specified Font object is identical to that used by this Font object.

Syntax

public boolean equalsBase( Font font )

Parameters

font

The font to evaluate.

Return Value

Returns true if the given font has the same base characteristics as this font; otherwise, returns false.

Remarks

A font shares the same base characteristics as another if the fonts have the same typeface name and use the same character set.