TuSDKCPAnimationImage Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKCPGifImage.h |
– imageFrameAtIndex:
required method
指定帧的图片
- (UIImage *)imageFrameAtIndex:(NSUInteger)index
Parameters
index |
帧索引 |
---|
Return Value
image 图片
Declared In
TuSDKCPGifImage.h
– durationAtIndex:
required method
获取指定帧的时长,单位: 秒
- (NSTimeInterval)durationAtIndex:(NSUInteger)index
Parameters
index |
帧索引 |
---|
Return Value
NSTimeInterval 对象 帧时长
Declared In
TuSDKCPGifImage.h
– contentsRectAtIndex:
显示区域
- (CGRect)contentsRectAtIndex:(NSUInteger)index
Parameters
index |
帧索引 |
---|
Return Value
CGRect
Declared In
TuSDKCPGifImage.h