Skip to content

chenyun122/EllipseButton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published