CommonGetFont
Callable
Parameters
size: any
The font size that should be specified in the returned font string
Returns string
- A font string specifying the requested font size and the player's preferred font stack. For example: 12px "Courier New", "Courier", monospace
Index
Methods
Methods
clearCache
Clears the cache of the memoized function
Returns void
Memoized getter function. Returns a font string specifying the player's preferred font and the provided size. This is memoized as it is called on every frame in many cases.