diff options
Diffstat (limited to 'html/en/func')
-rw-r--r-- | html/en/func/text.html | 4 |
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) -> (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) -> (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) [in Lua] -canvas:wGetTextBounds(x, y: number, text: string) -> (rect0, rect1, rect2, rect3, rect4, rect5, rect6, rect7: number) (WC) [in Lua]</pre> +canvas:GetTextBounds(x, y: number, text: string) -> (rect: table) [in Lua] +canvas:wGetTextBounds(x, y: number, text: string) -> (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> |