AbsoluteRoundedCornerShape

Class

Common
class AbsoluteRoundedCornerShape(
    topLeft: CornerSize,
    topRight: CornerSize,
    bottomRight: CornerSize,
    bottomLeft: CornerSize,
) :
    CornerBasedShape(
        topStart = topLeft,
        topEnd = topRight,
        bottomEnd = bottomRight,
        bottomStart = bottomLeft,
    )

A shape describing the rectangle with rounded corners.

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

Parameters

topLefta size of the top left corner
topRighta size of the top right corner
bottomRighta size of the bottom right corner
bottomLefta size of the bottom left corner