summaryrefslogtreecommitdiff
path: root/html/en/func/text.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/en/func/text.html')
-rw-r--r--html/en/func/text.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/en/func/text.html b/html/en/func/text.html
index f3399dc..12a54cd 100644
--- a/html/en/func/text.html
+++ b/html/en/func/text.html
@@ -171,8 +171,8 @@ canvas:wGetTextSize(text: string) -&gt; (width, heigth: number) (WC) [in Lua]</p
<pre class="function"><span class="mainFunction">void <a name="cdTextBounds">cdCanvasGetTextBounds</a>(cdCanvas* canvas, int x, int y, const char *text, int *rect); [in C]</span>
void wdCanvasGetTextBounds(cdCanvas* canvas, double x, double y, const char* text, double *rect); (WC) [in C]
-canvas:GetTextBounds(x, y: number, text: string) -&gt; (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) [in Lua]
-canvas:wGetTextBounds(x, y: number, text: string) -&gt; (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) (WC) [in Lua]</pre>
+canvas:GetTextBounds(x, y: number, text: string) -&gt; (rect: table) [in Lua]
+canvas:wGetTextBounds(x, y: number, text: string) -&gt; (rect: table) (WC) [in Lua]</pre>
<p>Returns the oriented bounding rectangle occupied by a text at a given
position. The rectangle has the same dimentions returned by <strong>