TuSDKCPGifImage Class Reference
Inherits from | TuSDKCPImage : UIImage |
---|---|
Conforms to | TuSDKCPAnimationImage |
Declared in | TuSDKCPGifImage.h |
+ imageNamed:
从Bundle文件创建GifImage对象
+ (TuSDKCPGifImage *)imageNamed:(NSString *)name
Parameters
name |
资源文件名 |
---|
Return Value
GifImage对象
Declared In
TuSDKCPGifImage.h
+ imageWithContentsOfFile:
根据文件路径创建GifImage对象
+ (TuSDKCPGifImage *)imageWithContentsOfFile:(NSString *)path
Parameters
file |
path 绝对路径 |
---|
Return Value
GifImage对象
Declared In
TuSDKCPGifImage.h
+ imageWithData:
从NSData对象创建GifImage对象
+ (TuSDKCPGifImage *)imageWithData:(NSData *)data
Parameters
data |
资源文件名 |
---|
Return Value
data GifImage对象
Declared In
TuSDKCPGifImage.h
currentFrameIndex
当前帧索引
@property (nonatomic, readonly) NSUInteger currentFrameIndex
Declared In
TuSDKCPGifImage.h