fromPx
fun fromPx(unit: LengthUnit, value: <Error class: unknown class>, settings: <Error class: unknown class>? = null): <Error class: unknown class>
Converts @value from pixels to @unit.
Return
the length in @unit
Since
1.4
Parameters
unit
a length unit
value
a value in pixels
settings
settings to use, or NULL
for default settings