for name, font in pairs(Drawing.Fonts) do
local text = Drawing.new("Text")
text.Text = "The quick brown fox (" .. name .. ")"
text.Font = font
text.Size = 48
text.Position = Vector2.new(150, 100 + font * 50)
text.Visible = true
task.delay(2, function ()
text:Destroy()
end)
end
drawing = Drawing.new(type)
function cleardrawcache(): ()
for i = 1, 10 do
local circle = Drawing.new("Circle")
circle.Radius = 50
circle.Color = Color3.fromRGB(255, 0, 0)
circle.Filled = true
circle.NumSides = 32
circle.Position = Vector2.new(math.random(300, 1200), math.random(300, 1200))
circle.Transparency = 0.7
circle.Visible = true
end
task.wait(1)
cleardrawcache()
function getrenderproperty(drawing: Drawing, property: string): any
local circle = Drawing.new("Circle")
getrenderproperty(circle, "Color")