TextLayout.getAscent

Returns the ascent of the receiver.

@return the ascent

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

@see #getDescent() @see #setDescent(int) @see #setAscent(int) @see #getLineMetrics(int)

class TextLayout
int
getAscent
(
)

Meta