Font
Constructor
There is no constructer, use create_font.
Properties
Description
name
The fontโs name or identifier.
size
The size of the font in points or pixels.
padding
Extra padding around each glyph in pixels.
antialiasing
Whether antialiasing (font smoothing) is enabled.
max_offset_y
The maximum vertical offset among all glyphs.
glyphs
Maps characters to glyph userdata objects.
Font is read-only!
Last updated