Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何自定义椭圆形状 #11

Open
joykerl opened this issue Jul 19, 2016 · 2 comments
Open

如何自定义椭圆形状 #11

joykerl opened this issue Jul 19, 2016 · 2 comments

Comments

@joykerl
Copy link

joykerl commented Jul 19, 2016

看了您的SXWaveAnmiate代码,感觉很不错。我们项目正好需要用到,但是我们需求是使用椭圆,类似一个杯子的效果。我技术能力有限,不知道如何可以修改到这种效果? 不知道是否可以指点一下思路,或者付费给您帮实现一下,如能留下联系方式更好,谢谢了

效果如图:http://softscenic.com/1.jpg

@dsxNiubility
Copy link
Owner

这个完全可以改啊,特殊图形就可以在动画那个view的drawinrect里加一个蒙版效果。如果觉得麻烦最取巧的方式是你把一个默认的圆形动画放在下面,上面盖一张图片,这个图片叫UI把中间水滴的形状设成透明,其他位置是绿色。 这就是你要的效果了。

@joykerl
Copy link
Author

joykerl commented Aug 9, 2016

好的,谢谢您

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants