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