Companion
object Companion
Functions
Link copied to clipboard
Link copied to clipboard
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.
Link copied to clipboard
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.