draw.CreateFont
Syntax
draw.CreateFont(font, height, weight, outline, smooth)
Parameters
fontstring- The font type to use.
heightint- The height size that the text will be.
weightintoptional- The amount of darkness being added. 100-900, increments of 100.
outlinebooloptional · defaultFalse- Enable text outline.
smoothbooloptional · defaultTrue- Enable ClearType anti-aliasing.
Preview

Appears in: Draw Text With Custom Font