cut

fun cut(topLeft: Dp = 0f.dp, topRight: Dp = 0f.dp, bottomRight: Dp = 0f.dp, bottomLeft: Dp = 0f.dp): CorneredShape
fun cut(topLeftPercent: Int = 0, topRightPercent: Int = 0, bottomRightPercent: Int = 0, bottomLeftPercent: Int = 0): CorneredShape

Creates a CorneredShape with cut corners of the provided sizes.


fun cut(all: Dp): CorneredShape
fun cut(allPercent: Int): CorneredShape

Creates a CorneredShape with cut corners of the provided size.