// // UIImage+EaseUI.h // EaseIMKit // // Created by 杜洁鹏 on 2020/11/15. // #import NS_ASSUME_NONNULL_BEGIN @interface UIImage (UI) + (UIImage *)pb_imageNamed:(NSString *)name; + (UIImage *)createGradualColorImage:(CGSize)size startPoint:(CGPoint)start startColor:(UIColor *)startColor endPoint:(CGPoint)end endColor:(UIColor *)endColor; + (UIImage *)imageWithColor:(UIColor *)color; + (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size; - (UIImage *)imageByResizeToSize:(CGSize)size; - (UIImage *)imageByTintColor:(UIColor *)color; - (UIImage *)imageByRoundCornerRadius:(CGFloat)radius; - (UIImage *)imageWithBackgroundColor:(UIColor *)backgroundColor cornerRadius:(CGFloat)cornerRadius contentSize:(CGSize)contentSize; @end NS_ASSUME_NONNULL_END