Files
mier_ios/SweetParty/Expand/Category/UIImage+Additions.h

37 lines
711 B
C
Raw Normal View History

2025-08-11 10:43:19 +08:00
//
// UIImage+Additions.h
// GoldCow
//
// Created by haiwei on 15/6/1.
// Copyright (c) 2015年 ddsfsdfsd. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface UIImage (Additions)
+ (UIImage *)imageWithColor:(UIColor *)color withSize:(CGSize)size;
+ (UIImage *)imageWithColor:(UIColor *)color;
- (UIImage *)imageByCropToRect:(CGRect)rect;
///**
// 返回一个gif图片
//
// @param data 二进制数据
// */
//+ (UIImage *)sd_animatedGIFWithData:(NSData *)data;
/**
gif图片
@param name gif名称()
*/
+ (UIImage *)sd_animatedGIFNamed:(NSString *)name;
+ (UIImage *)xy_getVideoThumbnail:(NSString *)filePath;
@end