Skip to content

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 · default False
Enable text outline.
smoothbooloptional · default True
Enable ClearType anti-aliasing.

Preview

Appears in: Draw Text With Custom Font