SVGAVideoSpriteEntity.h 678 B

12345678910111213141516171819202122232425
  1. //
  2. // SVGAVideoSpriteEntity.h
  3. // SVGAPlayer
  4. //
  5. // Created by 崔明辉 on 2017/2/20.
  6. // Copyright © 2017年 UED Center. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <UIKit/UIKit.h>
  10. @class SVGAVideoSpriteFrameEntity, SVGAContentLayer;
  11. @class SVGAProtoSpriteEntity;
  12. @interface SVGAVideoSpriteEntity : NSObject
  13. @property (nonatomic, readonly) NSString *imageKey;
  14. @property (nonatomic, readonly) NSArray<SVGAVideoSpriteFrameEntity *> *frames;
  15. - (instancetype)initWithJSONObject:(NSDictionary *)JSONObject;
  16. - (instancetype)initWithProtoObject:(SVGAProtoSpriteEntity *)protoObject;
  17. - (SVGAContentLayer *)requestLayerWithBitmap:(UIImage *)bitmap;
  18. @end