#import <ThingEncryptAnimatedImageView.h>
The ThingEncryptAnimatedImage protocol declares the required methods for animated image display with ThingEncryptAnimatedImageView.
Subclass a UIImage and implement this protocol, so that instances of that class can be set to ThingEncryptAnimatedImageView.image or ThingEncryptAnimatedImageView.highlightedImage to display animation.
Definition at line 21 of file ThingEncryptAnimatedImageView.h.
◆ animatedImageBytesPerFrame [1/4]
- (NSUInteger) animatedImageBytesPerFrame |
|
|
|
|
required |
Bytes per frame (in memory). It may used to optimize memory buffer size.
◆ animatedImageBytesPerFrame [2/4]
- (NSUInteger) animatedImageBytesPerFrame |
|
|
|
|
required |
Bytes per frame (in memory). It may used to optimize memory buffer size.
◆ animatedImageBytesPerFrame [3/4]
- (NSUInteger) animatedImageBytesPerFrame |
|
|
|
|
required |
Bytes per frame (in memory). It may used to optimize memory buffer size.
◆ animatedImageBytesPerFrame [4/4]
- (NSUInteger) animatedImageBytesPerFrame |
|
|
|
|
required |
Bytes per frame (in memory). It may used to optimize memory buffer size.
◆ animatedImageContentsRectAtIndex: [1/4]
- (CGRect) animatedImageContentsRectAtIndex: |
|
(NSUInteger) |
index |
|
|
optional |
A rectangle in image coordinates defining the subrectangle of the image that will be displayed. The rectangle should not outside the image's bounds. It may used to display sprite animation with a single image (sprite sheet).
◆ animatedImageContentsRectAtIndex: [2/4]
- (CGRect) animatedImageContentsRectAtIndex: |
|
(NSUInteger) |
index |
|
|
optional |
A rectangle in image coordinates defining the subrectangle of the image that will be displayed. The rectangle should not outside the image's bounds. It may used to display sprite animation with a single image (sprite sheet).
◆ animatedImageContentsRectAtIndex: [3/4]
- (CGRect) animatedImageContentsRectAtIndex: |
|
(NSUInteger) |
index |
|
|
optional |
A rectangle in image coordinates defining the subrectangle of the image that will be displayed. The rectangle should not outside the image's bounds. It may used to display sprite animation with a single image (sprite sheet).
◆ animatedImageContentsRectAtIndex: [4/4]
- (CGRect) animatedImageContentsRectAtIndex: |
|
(NSUInteger) |
index |
|
|
optional |
A rectangle in image coordinates defining the subrectangle of the image that will be displayed. The rectangle should not outside the image's bounds. It may used to display sprite animation with a single image (sprite sheet).
◆ animatedImageDurationAtIndex: [1/4]
- (NSTimeInterval) animatedImageDurationAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frames's duration from a specified index.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageDurationAtIndex: [2/4]
- (NSTimeInterval) animatedImageDurationAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frames's duration from a specified index.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageDurationAtIndex: [3/4]
- (NSTimeInterval) animatedImageDurationAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frames's duration from a specified index.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageDurationAtIndex: [4/4]
- (NSTimeInterval) animatedImageDurationAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frames's duration from a specified index.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageFrameAtIndex: [1/4]
- (nullable UIImage *) animatedImageFrameAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frame image from a specified index. This method may be called on background thread.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageFrameAtIndex: [2/4]
- (nullable UIImage *) animatedImageFrameAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frame image from a specified index. This method may be called on background thread.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageFrameAtIndex: [3/4]
- (nullable UIImage *) animatedImageFrameAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frame image from a specified index. This method may be called on background thread.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageFrameAtIndex: [4/4]
- (nullable UIImage *) animatedImageFrameAtIndex: |
|
(NSUInteger) |
index |
|
|
required |
Returns the frame image from a specified index. This method may be called on background thread.
- Parameters
-
index | Frame index (zero based). |
◆ animatedImageFrameCount [1/4]
- (NSUInteger) animatedImageFrameCount |
|
|
|
|
required |
Total animated frame count. If the frame count is less than 1, then the methods below will be ignored.
◆ animatedImageFrameCount [2/4]
- (NSUInteger) animatedImageFrameCount |
|
|
|
|
required |
Total animated frame count. If the frame count is less than 1, then the methods below will be ignored.
◆ animatedImageFrameCount [3/4]
- (NSUInteger) animatedImageFrameCount |
|
|
|
|
required |
Total animated frame count. If the frame count is less than 1, then the methods below will be ignored.
◆ animatedImageFrameCount [4/4]
- (NSUInteger) animatedImageFrameCount |
|
|
|
|
required |
Total animated frame count. If the frame count is less than 1, then the methods below will be ignored.
◆ animatedImageLoopCount [1/4]
- (NSUInteger) animatedImageLoopCount |
|
|
|
|
required |
Animation loop count, 0 means infinite looping.
◆ animatedImageLoopCount [2/4]
- (NSUInteger) animatedImageLoopCount |
|
|
|
|
required |
Animation loop count, 0 means infinite looping.
◆ animatedImageLoopCount [3/4]
- (NSUInteger) animatedImageLoopCount |
|
|
|
|
required |
Animation loop count, 0 means infinite looping.
◆ animatedImageLoopCount [4/4]
- (NSUInteger) animatedImageLoopCount |
|
|
|
|
required |
Animation loop count, 0 means infinite looping.
The documentation for this protocol was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_i386_x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptAnimatedImageView.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptAnimatedImageView.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-arm64/ThingEncryptImage.framework/Headers/ThingEncryptAnimatedImageView.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_arm64_32_armv7k/ThingEncryptImage.framework/Headers/ThingEncryptAnimatedImageView.h