radiusPx

fun radiusPx(@Px radius: Int): Border.Builder

Specifies the border radius for all corners

Parameters

radius

The desired border radius for all corners


fun radiusPx(corner: Int, @Px radius: Int): Border.Builder

Specifies the border radius for the given corner

Parameters

corner

The Corner to specify the radius of

radius

The desired radius