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