SVGAContentLayer.h 629 B

123456789101112131415161718192021222324
  1. //
  2. // SVGAContentLayer.h
  3. // SVGAPlayer
  4. //
  5. // Created by 崔明辉 on 2017/2/22.
  6. // Copyright © 2017年 UED Center. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class SVGABitmapLayer, SVGAVectorLayer, SVGAVideoSpriteFrameEntity;
  10. @interface SVGAContentLayer : CALayer
  11. @property (nonatomic, strong) NSString *imageKey;
  12. @property (nonatomic, strong) SVGABitmapLayer *bitmapLayer;
  13. @property (nonatomic, strong) SVGAVectorLayer *vectorLayer;
  14. @property (nonatomic, strong) CATextLayer *textLayer;
  15. - (instancetype)initWithFrames:(NSArray<SVGAVideoSpriteFrameEntity *> *)frames;
  16. - (void)stepToFrame:(NSInteger)frame;
  17. @end