StyledText.getLinePixel

Returns the top pixel, relative to the client area, of a given line. Clamps out of ranges index.

@param lineIndex the line index, the max value is lineCount. If lineIndex is lineCount it returns the bottom pixel of the last line. It means this function can be used to retrieve the bottom pixel of any line.

@return the top pixel of a given line index

@since 3.2

class StyledText
int
getLinePixel
()

Meta