圆角的多边形(六边形) [英] Rounded Corner for a Polygon (hexagon)
问题描述
我想实现在Android圆角六边形的ImageView
I am trying to achieve a rounded corner hexagon ImageView on Android
正是这样的人,但六角:
Exactly like this one but Hexagon :
我尽我所能,但百般失败,我没有找到这回答这是完美的,因为它可以让ü双方进入所需的数量,并没有休息。但遗憾的是它是iOS的,所以我不知道这是否是有帮助的任何人都知道这两种语言,而且可以在android系统重新创建
I tried my best but failed in every possible way, i did find this answer which is perfect as it lets u enter number of sides required and it does the rest. but sadly it was for iOS, so i am not sure if it is helpful to anyone that know both languages, and can recreate it in android
推荐答案
我发现了一个库,可以做到这一点,但被后,我做了自己,因此,这里的的链接图书馆和它多种形状
I found a library that can accomplish that but that was after i done it myself, So here is the link to library and it does many shapes
这篇关于圆角的多边形(六边形)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!