JPlanner Programmer's Guide
Font Members
Constructors Methods
 


Provides a platform-independent representation of a font.

The following tables list the members exposed by the Font type.

 Public Constructors

  Name Description

Font

Overloaded. Initializes a new instance of the Font class.

 Public Methods

  Name Description

clone

Cloneable.clone implementation.

deriveFont

Creates a copy of this font with different size and style.

getHeight

Gets the height of the font when used to render texts in the specified Graphics.

getName

Gets the name of the font.

getSize

Gets the size of the font, in points.

getStyle

Gets the style of the font.

isBold

Gets a value indicating whether the font is bold.

isItalic

Gets a value indicating whether the font is italic.

isStrikeout

Gets a value indicating whether the font is struck out.

isUnderline

Gets a value indicating whether the font is underlined.

readExternal

Externalizable.readExternal implementation.

writeExternal

Externalizable.writeExternal implementation.

 See Also

Font Class
com.mindfusion.drawing Namespace