Android Vector Resource Corner with elliptical arc

519 Views Asked by At

<corners> inside <shape> tag is used to get rounded corners with circular arc in vector drawable in android like this :

<corners
    android:bottomRightRadius="16dp"
    android:bottomLeftRadius="16dp"
    />

enter image description here But there does not seem to be an easy solution to get rounded corners with elliptical corners. which is very easy to do in CSS like this :

border-radius: 5px/10px;

Is it really impossible to do so without custom <path> tag inside <vector> or there is easy solution I am not aware of?

0

There are 0 best solutions below