Add DrawTextGradientV, DrawTextCodepointGradientV

This commit is contained in:
Christian Ricci 2025-06-17 17:21:26 +02:00
commit 3c3733337d

View file

@ -6671,6 +6671,20 @@ return {
{type = "Color", name = "tint"}
}
},
{
name = "DrawTextGradientV",
description = "Draw text with vertical gradient",
returnType = "void",
params = {
{type = "Font", name = "font"},
{type = "const char *", name = "text"},
{type = "Vector2", name = "position"},
{type = "float", name = "fontSize"},
{type = "float", name = "spacing"},
{type = "Color", name = "topTint"},
{type = "Color", name = "bottomTint"}
}
},
{
name = "DrawTextPro",
description = "Draw text using Font and pro parameters (rotation)",
@ -6698,6 +6712,19 @@ return {
{type = "Color", name = "tint"}
}
},
{
name = "DrawTextCodepointGradientV",
description = "Draw one character (codepoint) with vertical gradient",
returnType = "void",
params = {
{type = "Font", name = "font"},
{type = "int", name = "codepoint"},
{type = "Vector2", name = "position"},
{type = "float", name = "fontSize"},
{type = "Color", name = "topTint"},
{type = "Color", name = "bottomTint"}
}
},
{
name = "DrawTextCodepoints",
description = "Draw multiple character (codepoint)",