TextLayout.getLevel

Returns the embedding level for the specified character offset. The embedding level is usually used to determine the directionality of a character in bidirectional text.

@param offset the character offset @return the embedding level

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the character offset is out of range</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>

class TextLayout
int
getLevel
(
int offset
)

Meta