@@ -945,12 +945,14 @@ function love.graphics.present() end
945945---
946946--- [Open in Browser](https://love2d.org/wiki/love.graphics.print)
947947---
948- --- @overload fun ( coloredtext : table , x ?: number , y ?: number , angle ?: number , sx ?: number , sy ?: number , ox ?: number , oy ?: number , kx ?: number , ky ?: number )
949948--- @overload fun ( text : string , transform : love.Transform )
950- --- @overload fun ( coloredtext : table , transform : love.Transform )
951949--- @overload fun ( text : string , font : love.Font , transform : love.Transform )
950+ --- @overload fun ( text : number , transform : love.Transform )
951+ --- @overload fun ( test : number , font : love.Font , transform : love.Transform )
952+ --- @overload fun ( coloredtext : table , x ?: number , y ?: number , angle ?: number , sx ?: number , sy ?: number , ox ?: number , oy ?: number , kx ?: number , ky ?: number )
953+ --- @overload fun ( coloredtext : table , transform : love.Transform )
952954--- @overload fun ( coloredtext : table , font : love.Font , transform : love.Transform )
953- --- @param text string # The text to draw.
955+ --- @param text string | number # The text to draw.
954956--- @param x ? number # The position to draw the object (x-axis).
955957--- @param y ? number # The position to draw the object (y-axis).
956958--- @param r ? number # Orientation (radians).
@@ -979,11 +981,14 @@ function love.graphics.print(text, x, y, r, sx, sy, ox, oy, kx, ky) end
979981--- @overload fun ( text : string , font : love.Font , x : number , y : number , limit : number , align ?: love.AlignMode , r ?: number , sx ?: number , sy ?: number , ox ?: number , oy ?: number , kx ?: number , ky ?: number )
980982--- @overload fun ( text : string , transform : love.Transform , limit : number , align ?: love.AlignMode )
981983--- @overload fun ( text : string , font : love.Font , transform : love.Transform , limit : number , align ?: love.AlignMode )
984+ --- @overload fun ( text : number , font : love.Font , x : number , y : number , limit : number , align ?: love.AlignMode , r ?: number , sx ?: number , sy ?: number , ox ?: number , oy ?: number , kx ?: number , ky ?: number )
985+ --- @overload fun ( text : number , transform : love.Transform , limit : number , align ?: love.AlignMode )
986+ --- @overload fun ( text : number , font : love.Font , transform : love.Transform , limit : number , align ?: love.AlignMode )
982987--- @overload fun ( coloredtext : table , x : number , y : number , limit : number , align : love.AlignMode , angle ?: number , sx ?: number , sy ?: number , ox ?: number , oy ?: number , kx ?: number , ky ?: number )
983988--- @overload fun ( coloredtext : table , font : love.Font , x : number , y : number , limit : number , align ?: love.AlignMode , angle ?: number , sx ?: number , sy ?: number , ox ?: number , oy ?: number , kx ?: number , ky ?: number )
984989--- @overload fun ( coloredtext : table , transform : love.Transform , limit : number , align ?: love.AlignMode )
985990--- @overload fun ( coloredtext : table , font : love.Font , transform : love.Transform , limit : number , align ?: love.AlignMode )
986- --- @param text string # A text string.
991+ --- @param text string | number # A text string.
987992--- @param x number # The position on the x-axis.
988993--- @param y number # The position on the y-axis.
989994--- @param limit number # Wrap the line after this many horizontal pixels.
@@ -1557,7 +1562,7 @@ function Font:getLineHeight() end
15571562---
15581563--- [Open in Browser](https://love2d.org/wiki/Font:getWidth)
15591564---
1560- --- @param text string # A string.
1565+ --- @param text string | number # A string or number .
15611566--- @return number width # The width of the text.
15621567function Font :getWidth (text ) end
15631568
0 commit comments