Class: DrawFont
Static Methods
DrawFont DrawFont.RegisterDefault(font_name: string, options: table) [yields]
DrawFont DrawFont.Register(font_data: string, options: table) [yields]
table DrawFont.ListDefault()
Returns a list of the default registered fonts.
Methods
Vector2 DrawFont:GetTextBounds(size: float, text: string)
Calculates the bounds a string of text occupies given a font size.