--

The reason why I did that is I want to show how they can create any type of shapes with any number of corners and any type. CornerBasedShape allows you to have only 4 corners and that's the limitation of it. But in this example I agree with you, we can use CutCornerBasedShape

--

--

Rasul Aghakishiyev

Android Software Engineer. Interested in mobile development. In love with Jetpack Compose