cut

fun cut(topLeftDp: Float = 0.0f, topRightDp: Float = 0.0f, bottomRightDp: Float = 0.0f, bottomLeftDp: Float = 0.0f): 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(allDp: Float): CorneredShape
fun cut(allPercent: Int): CorneredShape

Creates a CorneredShape with cut corners of the provided size.