Font - Mtax-Development/GML-OOP GitHub Wiki

Description

Constructs a Font resource defining glyphs used in text rendering.

Specification

Destruction
Elements
None

Properties

Name
Type
Modifiable
ID
{int:font}
No
type
No
assetName
No
fontName
No
sprite
No
size
{int}
No
bold
No
italic
No
first
{int}
No
glyphs
No
antialiasing
No
proportional
No
separation
No

Events

Pre-execution
Post-execution
beforeActivation
afterActivation

Construction types

Name
Arguments
Wrapper
font {int:font}
From file
path {string:path}
size {int}
bold {bool}
italic {bool}
glyphs {Range}
antialiasing {bool}
Sprite (UTF-8)
sprite {Sprite}
first {int}
proportional {bool}
separation {int}
antialiasing {bool}
Sprite (glyph map)
sprite {Sprite}
glyphs {string}
proportional {bool}
separation {int}
antialiasing {bool}
Empty
Constructor copy
other {Font}
⚠️ **GitHub.com Fallback** ⚠️