fromPx

abstract fun fromPx(size: Float): CornerSize

创建一个基于 Px(像素)的 CornerSize

Return

代表指定 Px 值的 CornerSize 实例。

Parameters

size

Px 单位的圆角尺寸。