fontSizeToPoints

fun fontSizeToPoints(pixels: <Error class: unknown class>): <Error class: unknown class>

Convert @pixels to the equivalent value in points.

Convert @pixels to the equivalent value in points, based on the current screen DPI. Applications can use this function to convert font size values in pixels to font size values in points when getting the font size properties of #WebKitSettings.

Return

the equivalent font size in points.

Since

2.20

Parameters

pixels

the font size in pixels to convert to points