Gets the natural extents of the text, in the text item's coordinate space.
The final extents of the text may be different, if the text item is placed in a layout container such as CanvasTable.
this |
a CanvasText. |
ink_rect |
the location to return the ink rect, or null. |
logical_rect |
the location to return the logical rect, or null. |