radius

fun radius(topStart: Int = 0, topEnd: Int = 0, bottomStart: Int = 0, bottomEnd: Int = 0): RadiusSchema

Corner radius, in dp, individually per corner — the value fed into roundedCornerShape and border(...).

Parameters

topStart

Radius of the top-start corner, in dp. Defaults to 0.

topEnd

Radius of the top-end corner, in dp. Defaults to 0.

bottomStart

Radius of the bottom-start corner, in dp. Defaults to 0.

bottomEnd

Radius of the bottom-end corner, in dp. Defaults to 0.