Gets the bounding rectangle of the text belonging to the line.

<void> Line.getTextBounds(<RequestRectangleCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the bounding rectangle of the text belonging to the line.
errorCallback Optional. Is called when the operation failed with an error.