Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 977 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 977 Bytes

EllipseButton

An iOS button in ellipse shape. And it's also a demonstration of creating irregular views.

EllipseButton

Only areas within the ellipse can be clicked.

Usage

Copy the source code in the /EllipseButton folder into your project, then use it like UIButton.

Customization

The number of annulus, and their colors and width could be customed.


[中文]
这是一个椭圆形态的iOS按钮。同时它也展示了创建不规则View的一种方式。只有圆内的区域可被点击。

使用

拷贝EllipseButton目录下源代码到您的项目中,就可以像使用UIButton那样使用它。

定制

圆环的数目、颜色、宽度支持设置。


License

StepIndicator is released under the MIT license. See LICENSE for details.