27 lines
730 B
Objective-C
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
|