Skip to content

BigFont : VisualElement

The BigFont element is a text element that displays larger text. It uses Wojbie's BigFont API to render the text in a larger font size. Credits to Wojbie for the original API.

Usage

lua
local font = main:addBigFont()
font:setText("Hello World!")
local font = main:addBigFont()
font:setText("Hello World!")

Properties

PropertyTypeDefaultDescription
textstringBigFontBigFont text
fontSizenumber1The font size of the BigFont

Protected Functions

MethodReturnsDescription
BigFont:init-Initializes the BigFont instance
BigFont:render-Renders the BigFont

Released under the MIT License.