MiddleCornerShape

fun MiddleCornerShape(baseShape: CornerBasedShape = CircleShape, cornerSize: Dp = 2.dp): CornerBasedShape(source)

Shape which applies a specified Dp on all corners. Useful as middle part for StartCornerShape and EndCornerShape for example.

Return

a CornerBasedShape which is changed on all corners.

Parameters

baseShape

the base CornerBasedShape which will be used.

cornerSize

the changes in Dp on the corners.