TextLayout.getLocation

Returns the location for the specified character offset. The <code>trailing</code> argument indicates whether the offset corresponds to the leading or trailing edge of the cluster.

@param offset the character offset @param trailing the trailing flag @return the location of the character offset

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

@see #getOffset(Point, int[]) @see #getOffset(int, int, int[])

class TextLayout
getLocation
(
int offset
,
)

Meta