Skip to main content

font object

A font object provides access to the following properties of the font used by a text shape.


name (string)

Returns the name of a font.

Example:

shape.font.name = "Arial"

size (double)

Returns the size of a font.

Example:

shape.font.size = 16.0