Skip to main content

CommonGetFontName

Callable

  • CommonGetFontName(): string

  • Memoized getter function. Returns a font string specifying the player's preferred font stack. This is memoized as it is called on every frame in many cases.


    Returns string

    • A font string specifying the player's preferred font stack. For example: "Courier New", "Courier", monospace

Index

Methods

Methods

clearCache

  • clearCache(): void
  • Clears the cache of the memoized function


    Returns void

Page Options