TextLayout.getLineOffsets

Returns the line offsets. Each value in the array is the offset for the first character in a line except for the last value, which contains the length of the text.

@return the line offsets

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

class TextLayout
int[]
getLineOffsets
(
)

Meta