getLength

open fun getLength(key: String, unit: Unit): Double

Returns the value associated with @key, interpreted as a length.

The returned value is converted to @units.

Return

the length value of @key, converted to @unit

Parameters

key

a key

unit

the unit of the return value