SVGAVideoSpriteEntity.h 730 B

1234567891011121314151617181920212223242526
  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. @property (nonatomic, readonly) NSString *matteKey;
  16. - (instancetype)initWithJSONObject:(NSDictionary *)JSONObject;
  17. - (instancetype)initWithProtoObject:(SVGAProtoSpriteEntity *)protoObject;
  18. - (SVGAContentLayer *)requestLayerWithBitmap:(UIImage *)bitmap;
  19. @end