roundedCornerShape
Rounded-rectangle shape with a fully custom radius per corner.
fun roundedCornerShape(topStart: Int, topEnd: Int, bottomStart: Int, bottomEnd: Int): ShapeSchema.RoundedCornerRectangle
Rounded-rectangle shape with an independent radius per corner, in dp.
Parameters
topStart
Radius of the top-start corner, in dp.
topEnd
Radius of the top-end corner, in dp.
bottomStart
Radius of the bottom-start corner, in dp.
bottomEnd
Radius of the bottom-end corner, in dp.
Rounded-rectangle shape with the same radius, in dp, applied to all four corners.