Text.prototype. getMeasuredWidth now returns width calculated with respect to line wrapping.

Text.prototype._drawText() no longer returns a count of lines. It now uses a new method, getStringsForLinesToBeDrawn, that returns an array of strings, pre-split into lines.

The getMeasuredHeight method already returned a height that respected the line wrapping. When I tried to use getMeasuredHeight and getMeasuredWidth to calculate the area of the text, the calculations showed correct heights, but often showed a width that was far too wide.