Skip to content

setSize()

Set the font's point size.

Parameters

Once an object font has been created, you can use the following function:

font.setSize(size)
Parameter Type Default Description
size int required The new point size.