cdCanvasGetVectorTextBounds
| Definition: |
include pGUI.e
sequence rect = cdCanvasGetVectorTextBounds(cdCanvas canvas, string text, integer px, py) -- or -- sequence rect = wdCanvasGetVectorTextBounds(cdCanvas canvas, string text, atom px, py) |
| Description: | Returns the oriented bounding rectangle occupied by a text at a given position. |
| pwa/p2js: | Not supported. |
| Comments: |
The rectangle has the same dimentions returned by cdCanvasGetVectorTextSize. The rectangle corners are returned in counter-clock wise order starting with the bottom left corner, arranged (x0,y0,x1,y1,x2,y2,x3,y3). |