fromColor

abstract fun fromColor(color: Color)

从另一个 Color 实例复制其颜色值。

Parameters

color

提供颜色值的源对象。