Returns the bounds of the receiver. The width returned is either the
width of the longest line or the width set using {@link TextLayout#setWidth(int)}.
To obtain the text bounds of a line use {@link TextLayout#getLineBounds(int)}.
@return the bounds of the receiver
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Returns the bounds of the receiver. The width returned is either the width of the longest line or the width set using {@link TextLayout#setWidth(int)}. To obtain the text bounds of a line use {@link TextLayout#getLineBounds(int)}.
@return the bounds of the receiver
@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>
@see #setWidth(int) @see #getLineBounds(int)