目录

Font

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.getTextLineHeight(Object object)

Obtains the height of a line of text.

qg.loadFont(string fontFamily, string path)

Loads a custom font file.

[h2]qg.getTextLineHeight(Object object)

[h2]qg.loadFont(string familyName, string path)