//
//  NvTimelineParticleUtils.h
//  SDKDemo
//
//  Created by shizhouhu on 2018/7/2.
 //
//

#import <Foundation/Foundation.h>
#import "NvTimelineDataModel.h"
#import "NvsTimeline.h"

@interface NvTimelineParticleUtils : NSObject

/*
 * 长按开始添加粒子
 */
+ (NSString *)startParticle:(NvsTimeline *)timeline particleInfo:(NvParticleInfoModel *)particleInfo;

/*
 * 长按滑动更新粒子
 */
+ (void)updateParticle:(NvsTimeline *)timeline
          particleInfo:(NvParticleInfoModel *)particleInfo
            liveWindow:(NvsLiveWindow *)liveWindow
                 point:(CGPoint)point;

/*
 * 长按停止添加粒子
 */
+ (void)stopParticle:(NvsTimeline *)timeline particleInfo:(NvParticleInfoModel *)particleInfo;

/*
 * 删除粒子
 */
+ (void)removeParticle:(NvsTimeline *)timeline particleInfo:(NvParticleInfoModel *)particleInfo;

@end
