createFont

Script::createFont

Creates an empty font and returns its pointer.

Declaration

Font* createFont(const std::string& fontName);

Parameters

Name

Type

Description

fontName

const std::string&

A unique name for the new Font.

Returns

A pointer to an empty Font.