of
fun of(face: Face, underlinePosition: Double? = null, underlineThickness: Double? = null, strikeoutPosition: Double? = null, strikeoutThickness: Double? = null): DecorationMetrics(source)
The decoration metrics of face from the centers and thicknesses of the lines of the font, in pixels. Lines the font has no metrics for, null values or thicknesses that are not positive, get the fallback: an underline centered 0.075 em below the baseline, a strikeout centered on half of the x-height, both 0.05 em thick.