#import <ThingEncryptSpriteSheetImage.h>
◆ contentsRectForCALayerAtIndex: [1/4]
- (CGRect) contentsRectForCALayerAtIndex: |
|
(NSUInteger) |
index |
|
Get the contents rect for CALayer. See "contentsRect" property in CALayer for more information.
- Parameters
-
- Returns
- Contents Rect.
◆ contentsRectForCALayerAtIndex: [2/4]
- (CGRect) contentsRectForCALayerAtIndex: |
|
(NSUInteger) |
index |
|
Get the contents rect for CALayer. See "contentsRect" property in CALayer for more information.
- Parameters
-
- Returns
- Contents Rect.
◆ contentsRectForCALayerAtIndex: [3/4]
- (CGRect) contentsRectForCALayerAtIndex: |
|
(NSUInteger) |
index |
|
Get the contents rect for CALayer. See "contentsRect" property in CALayer for more information.
- Parameters
-
- Returns
- Contents Rect.
◆ contentsRectForCALayerAtIndex: [4/4]
- (CGRect) contentsRectForCALayerAtIndex: |
|
(NSUInteger) |
index |
|
Get the contents rect for CALayer. See "contentsRect" property in CALayer for more information.
- Parameters
-
- Returns
- Contents Rect.
◆ initWithSpriteSheetImage:contentRects:frameDurations:loopCount: [1/4]
- (nullable instancetype) initWithSpriteSheetImage: |
|
(UIImage *) |
image |
contentRects: |
|
(NSArray< NSValue * > *) |
contentRects |
frameDurations: |
|
(NSArray< NSNumber * > *) |
frameDurations |
loopCount: |
|
(NSUInteger) |
loopCount |
|
|
| |
Creates and returns an image object.
- Parameters
-
image | The sprite sheet image (contains all frames). |
contentRects | The sprite sheet image frame rects in the image coordinates. The rectangle should not outside the image's bounds. The objects in this array should be created with [NSValue valueWithCGRect:]. |
frameDurations | The sprite sheet image frame's durations in seconds. The objects in this array should be NSNumber. |
loopCount | Animation loop count, 0 means infinite looping. |
- Returns
- An image object, or nil if an error occurs.
◆ initWithSpriteSheetImage:contentRects:frameDurations:loopCount: [2/4]
- (nullable instancetype) initWithSpriteSheetImage: |
|
(UIImage *) |
image |
contentRects: |
|
(NSArray< NSValue * > *) |
contentRects |
frameDurations: |
|
(NSArray< NSNumber * > *) |
frameDurations |
loopCount: |
|
(NSUInteger) |
loopCount |
|
|
| |
Creates and returns an image object.
- Parameters
-
image | The sprite sheet image (contains all frames). |
contentRects | The sprite sheet image frame rects in the image coordinates. The rectangle should not outside the image's bounds. The objects in this array should be created with [NSValue valueWithCGRect:]. |
frameDurations | The sprite sheet image frame's durations in seconds. The objects in this array should be NSNumber. |
loopCount | Animation loop count, 0 means infinite looping. |
- Returns
- An image object, or nil if an error occurs.
◆ initWithSpriteSheetImage:contentRects:frameDurations:loopCount: [3/4]
- (nullable instancetype) initWithSpriteSheetImage: |
|
(UIImage *) |
image |
contentRects: |
|
(NSArray< NSValue * > *) |
contentRects |
frameDurations: |
|
(NSArray< NSNumber * > *) |
frameDurations |
loopCount: |
|
(NSUInteger) |
loopCount |
|
|
| |
Creates and returns an image object.
- Parameters
-
image | The sprite sheet image (contains all frames). |
contentRects | The sprite sheet image frame rects in the image coordinates. The rectangle should not outside the image's bounds. The objects in this array should be created with [NSValue valueWithCGRect:]. |
frameDurations | The sprite sheet image frame's durations in seconds. The objects in this array should be NSNumber. |
loopCount | Animation loop count, 0 means infinite looping. |
- Returns
- An image object, or nil if an error occurs.
◆ initWithSpriteSheetImage:contentRects:frameDurations:loopCount: [4/4]
- (nullable instancetype) initWithSpriteSheetImage: |
|
(UIImage *) |
image |
contentRects: |
|
(NSArray< NSValue * > *) |
contentRects |
frameDurations: |
|
(NSArray< NSNumber * > *) |
frameDurations |
loopCount: |
|
(NSUInteger) |
loopCount |
|
|
| |
Creates and returns an image object.
- Parameters
-
image | The sprite sheet image (contains all frames). |
contentRects | The sprite sheet image frame rects in the image coordinates. The rectangle should not outside the image's bounds. The objects in this array should be created with [NSValue valueWithCGRect:]. |
frameDurations | The sprite sheet image frame's durations in seconds. The objects in this array should be NSNumber. |
loopCount | Animation loop count, 0 means infinite looping. |
- Returns
- An image object, or nil if an error occurs.
◆ contentRects
- (NSArray< NSValue * > *) contentRects |
|
readnonatomicassign |
◆ frameDurations
- (NSArray< NSValue * > *) frameDurations |
|
readnonatomicassign |
◆ loopCount
The documentation for this class was generated from the following files:
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_i386_x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptSpriteSheetImage.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-x86_64-simulator/ThingEncryptImage.framework/Headers/ThingEncryptSpriteSheetImage.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/ios-arm64/ThingEncryptImage.framework/Headers/ThingEncryptSpriteSheetImage.h
- /Users/humtong/Downloads/Pods_副本/ThingEncryptImage/Build/ThingEncryptImage.xcframework/watchos-arm64_arm64_32_armv7k/ThingEncryptImage.framework/Headers/ThingEncryptSpriteSheetImage.h