Add DrawTextGradientV, DrawTextCodepointGradientV
This commit is contained in:
parent
4bc8d3761c
commit
3c3733337d
1 changed files with 388 additions and 182 deletions
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Reference in a new issue