Add DrawTextGradientV, DrawTextCodepointGradientV

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

View file

@ -9287,6 +9287,41 @@
}
]
},
{
"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)",
@ -9353,6 +9388,37 @@
}
]
},
{
"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)",