roundedCornerShape
Creates a Shape with all corners rounded.
Parameters
allPercent
the radius of each corner (in percent).
fun roundedCornerShape(topLeftPercent: Int = 0, topRightPercent: Int = 0, bottomRightPercent: Int = 0, bottomLeftPercent: Int = 0): CorneredShape
Creates a Shape with all corners rounded.
Parameters
topLeftPercent
the top-left corner radius (in percent).
topRightPercent
the top-right corner radius (in percent).
bottomRightPercent
the bottom-right corner radius (in percent).
bottomLeftPercent
the bottom-left corner radius (in percent).