Skip to content

一个将图片裁剪为带颜色圆形边框的分类

License

Notifications You must be signed in to change notification settings

Sheldon-XieRu/UIImageTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UIImageTool

一个将图片裁剪为带颜色圆形边框的分类

/**
 *  将图片裁剪成指定背景颜色的圆形边框
 *
 *  @param image       原始图片
 *  @param borderWidth 边框的宽
 *  @param color       边框的颜色
 *
 *  @return 裁剪后的图片
 */

+ (UIImage *)clipImageToRoundFrame:(UIImage *)image borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)color

##Demo效果图 image

About

一个将图片裁剪为带颜色圆形边框的分类

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published