toPx

fun toPx(unit: LengthUnit, value: Double, settings: <Error class: unknown class>? = null): Double

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