rounded

fun rounded(topLeftDp: Float = 0.0f, topRightDp: Float = 0.0f, bottomRightDp: Float = 0.0f, bottomLeftDp: Float = 0.0f): CorneredShape
fun rounded(topLeftPercent: Int = 0, topRightPercent: Int = 0, bottomRightPercent: Int = 0, bottomLeftPercent: Int = 0): CorneredShape

Creates a CorneredShape with rounded corners of the provided radii.


fun rounded(allPercent: Int): CorneredShape

Creates a CorneredShape with rounded corners of the provided radius.