rounded

Creates a CorneredShape with rounded corners of the provided size.


fun Shape.Companion.rounded(topLeft: Dp = 0.dp, topRight: Dp = 0.dp, bottomRight: Dp = 0.dp, bottomLeft: Dp = 0.dp): CorneredShape

Creates a CorneredShape with rounded corners of the provided sizes.