StyledText.getBaseline

Returns the baseline, in pixels.

Note: this API should not be used if a StyleRange attribute causes lines to have different heights (i.e. different fonts, rise, etc).

@return baseline the baseline @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul> @since 3.0

@see #getBaseline(int)

  1. int getBaseline()
    class StyledText
    int
    getBaseline
    (
    )
  2. int getBaseline(int offset)

Meta