Skip to content
Saiko

Drawing.Fonts

The fonts a Text drawing can use, each mapped to the number you assign to its Font property.

Signature

luau
Drawing.Fonts: { UI: number, System: number, Plex: number, Monospace: number }

Returns

table

Note

Example

luau
local text = Drawing.new("Text")
text.Text = "saiko"
text.Font = Drawing.Fonts.Monospace
text.Visible = true

print(Drawing.Fonts.UI, Drawing.Fonts.System, Drawing.Fonts.Plex, Drawing.Fonts.Monospace) --> 0 1 2 3