Companion

object Companion

Functions

Link copied to clipboard
fun fromNativeValue(nativeValue: <Error class: unknown class>): LengthUnit
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 getType(): <Error class: unknown class>

Get the GType of LengthUnit

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.