Font

1.2.0+

Wrapper around a native font resource.

Note: Fonts are per-engine, they can thus be shared by multiple scenes.

.capHeight: number 

Cap height in object space. This is the typical height of capital letters. Can be 0 if not defined by the font.

.emHeight: number 

Em height in object space. Equivalent to line height.

.xHeight: number 

X height in object space. This is the typical height of lowercase letters. Can be 0 if not defined by the font.