移动开发iOS Developer

UIImage 的常用分类

2016-11-13  本文已影响53人  家丁三锅

对一些常用UIImage 图片处理的功能做了简单的封装,不多,如果有什么需求的,可以留言在下面,我再加进去。


+ (UIImage *)imageWithClipImage:(UIImage *)image borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)color;
+ (UIImage *)imageWithCaptureView:(UIView *)captureView;
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
+ (UIImage *)imageWithWaterMarkImage:(NSString *)imageName text:(NSString *)str textRect:(CGRect)rect;
+ (UIImage *)imageWithOriginImage:(UIImage *)image scaleToSize:(CGSize)size;

重点来了———> 代码下载地址

上一篇 下一篇

猜你喜欢

热点阅读