FontMetrics.getHeight

Gets the line height from a font metrics structure.

The line height is the recommended distance between successive baselines in wrapped text using this font.

If the line height is not available, 0 is returned.

class FontMetrics
int
getHeight
()

Return Value

Type: int

the height, in Pango units