RoundedCornerShape

Class

Common
class RoundedCornerShape(
    topStart: CornerSize,
    topEnd: CornerSize,
    bottomEnd: CornerSize,
    bottomStart: CornerSize,
) :
    CornerBasedShape(
        topStart = topStart,
        topEnd = topEnd,
        bottomEnd = bottomEnd,
        bottomStart = bottomStart,
    )

A shape describing the rectangle with rounded corners.

This shape will automatically mirror the corner sizes in LayoutDirection.Rtl, use AbsoluteRoundedCornerShape for the layout direction unaware version of this shape.

Parameters

topStarta size of the top start corner
topEnda size of the top end corner
bottomEnda size of the bottom end corner
bottomStarta size of the bottom start corner