lotus_script

Module font

Source

Structs§

Functions§

  • Get the properties of a bitmap font. Returns None if the font is not currently loaded. It will be loaded in the background. Just call this function again later until it returns Some.
  • Get the width of the text in pixels. Returns None if the font is not currently loaded. It will be loaded in the background. Just call this function again later until it returns Some.