new RenderingFont(fontName, fontSize)

Initializes a new instance of the RenderingFont

Parameters

Name Type Optional Description

fontName

 

 

font name

fontSize

 

 

font size in points

Methods

getBold()

Gets or sets bold for the font.

getColor()

Gets or sets color for the font.

getItalic()

Gets or sets italic for the font.

getName()

Gets name of the font.

getSize()

Gets size of the font in points.

setBold()

Gets or sets bold for the font.

setColor()

Gets or sets color for the font.

setItalic()

Gets or sets italic for the font.