

#import <UIKit/UIKit.h>

@interface UIImage (Extension)
/**
 *  圆形剪裁图片
 *
 *  @param borderW   圆环宽度
 *  @param color     圆环颜色
 *  @param imageName 图片名称
 *
 *  @return 剪裁好的图片
 */
+ (UIImage *)imageWithBorderW:(CGFloat)borderW color:(UIColor *)color CircleImageName:(NSString *)imageName;

//- (instancetype)yzt_drawRectWithRoundCorner:(UIRectCorner)rectCorner radius:(CGFloat)radius size:(CGSize)size;

+ (UIImage *)resizableImageWithName:(NSString *)imageName;


+ (UIImage *) imageWithName:(NSString *) imageName;



- (UIImage*) scaleImageWithSize:(CGSize)size;

- (UIImage*) scaleImageWithFrame:(CGRect)frame;



+ (UIImage *)thumbnailWithImageWithoutScale:(UIImage *)image size:(CGSize)asize;

//图片image旋转
+ (UIImage *)offcnImage:(UIImage *)image rotation:(UIImageOrientation)orientation;
@end
