Files
featherVoice/Pods/SVGAPlayer/Source/SVGAVideoSpriteEntity.h
2025-08-08 10:49:36 +08:00

27 lines
730 B
Objective-C

//
// SVGAVideoSpriteEntity.h
// SVGAPlayer
//
// Created by 崔明辉 on 2017/2/20.
// Copyright © 2017年 UED Center. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class SVGAVideoSpriteFrameEntity, SVGAContentLayer;
@class SVGAProtoSpriteEntity;
@interface SVGAVideoSpriteEntity : NSObject
@property (nonatomic, readonly) NSString *imageKey;
@property (nonatomic, readonly) NSArray<SVGAVideoSpriteFrameEntity *> *frames;
@property (nonatomic, readonly) NSString *matteKey;
- (instancetype)initWithJSONObject:(NSDictionary *)JSONObject;
- (instancetype)initWithProtoObject:(SVGAProtoSpriteEntity *)protoObject;
- (SVGAContentLayer *)requestLayerWithBitmap:(UIImage *)bitmap;
@end