Class Font

Stores a font.

Functions

font.default () Gets the default font.
font.draw (pos, text, col, scale) Draws text using the font.


Functions

Methods
font.default ()
Gets the default font.

Returns:

    Font the default font
font.draw (pos, text, col, scale)
Draws text using the font.

Parameters:

  • pos Vec2 The position to draw the text
  • text string The text to draw
  • col Color The color to draw the text
  • scale Scale Multiplies the size of the text
generated by LDoc 1.5.0 Last updated 2024-05-23 11:40:37