dpToLength

abstract fun dpToLength(dp: Dp, lengthUnit: LengthUnit): Float

Converts an Int Dp value to LengthUnit.

Return

the value of LengthUnit