PgFontMetrics.getUnderlinePosition

Gets the suggested position to draw the underline.

The value returned is the distance *above* the baseline of the top of the underline. Since most fonts have underline positions beneath the baseline, this value is typically negative.

class PgFontMetrics
int
getUnderlinePosition
()

Return Value

Type: int

the suggested underline position, in Pango units.

Meta