fromDouble

abstract fun fromDouble(value: Double): Dp

从一个 Double 值创建 Dp 对象。

Return

对应的 Dp 对象。

Parameters

value

双精度浮点数值。