Как получить форму шестиугольника ImageView
. Можно ли сделать то же самое? Если да, то как. Если это невозможно, то как это можно достичь?
<shape xmlns:android="http//schemas.android.com/apk/res/android"
android:shape="hexagon">
<solid android:color="#ffffffff" />
<size android:width="60dp"
android:height="40dp" />
</shape>
Снимок экрана
Здесь я не могу сделать маскирование изображения, потому что не могу определить, какую часть растрового изображения я должен обрезать, чтобы получить растровое изображение в форме шестиугольника. Поэтому я ищу ответ, чтобы получить форму шестиугольника ImageView