StyledText.getLineIndex

Returns the line index for a y, relative to the client area. The line index returned is always in the range 0..lineCount - 1.

@param y the y-coordinate pixel

@return the line index for a given y-coordinate pixel

@since 3.2

class StyledText
int
getLineIndex
(
int y
)

Meta