增加换肤功能
This commit is contained in:
28
Pods/SVGAPlayer/Source/SVGAContentLayer.h
generated
Normal file
28
Pods/SVGAPlayer/Source/SVGAContentLayer.h
generated
Normal file
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// SVGAContentLayer.h
|
||||
// SVGAPlayer
|
||||
//
|
||||
// Created by 崔明辉 on 2017/2/22.
|
||||
// Copyright © 2017年 UED Center. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "SVGAPlayer.h"
|
||||
|
||||
@class SVGABitmapLayer, SVGAVectorLayer, SVGAVideoSpriteFrameEntity;
|
||||
|
||||
@interface SVGAContentLayer : CALayer
|
||||
|
||||
@property (nonatomic, strong) NSString *imageKey;
|
||||
@property (nonatomic, assign) BOOL dynamicHidden;
|
||||
@property (nonatomic, copy) SVGAPlayerDynamicDrawingBlock dynamicDrawingBlock;
|
||||
@property (nonatomic, strong) SVGABitmapLayer *bitmapLayer;
|
||||
@property (nonatomic, strong) SVGAVectorLayer *vectorLayer;
|
||||
@property (nonatomic, strong) CATextLayer *textLayer;
|
||||
|
||||
- (instancetype)initWithFrames:(NSArray<SVGAVideoSpriteFrameEntity *> *)frames;
|
||||
|
||||
- (void)stepToFrame:(NSInteger)frame;
|
||||
- (void)resetTextLayerProperties:(NSAttributedString *)attributedString;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user