Skip to content

haolizi/DrawIrregularView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrawIrregularView

用 UIBezierPath绘制简单不规则图形

Usage

//初始化
_drawView = [[DrawRoundView alloc] init];
_drawView.frame = CGRectMake(0, KSCREEN_HEIGHT - 72, KSCREEN_WIDTH, 72);
_drawView.backgroundColor = [UIColor clearColor];
_drawView.fillColor = BARANDOM_COLOR;//填充颜色
[self.view addSubview:_drawView];

效果图: image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published