AliyunEffectPasterBase
@interface AliyunEffectPasterBase : AliyunEffect <AliyunActionProtocol>
所有动图/字幕的基类
-
设置开始时间
单位:秒
Declaration
Objective-C
@property (nonatomic) CGFloat startTime;
-
设置结束时间
单位:秒
Declaration
Objective-C
@property (nonatomic) CGFloat endTime;
-
动图最小播放时长
配置文件内配置
Declaration
Objective-C
@property (nonatomic, readonly) CGFloat minDuration;
-
旋转角度
Declaration
Objective-C
@property (nonatomic) CGFloat rotate;
-
动图的展示区域
即动图的父视图 例如在编辑demo中的editzoneview
Declaration
Objective-C
@property (nonatomic) CGSize displaySize;
-
动图的位置大小
Declaration
Objective-C
@property (nonatomic) CGRect frame;
-
动图的位置
Declaration
Objective-C
@property (nonatomic) CGPoint position;
-
动图的大小
Declaration
Objective-C
@property (nonatomic) CGSize size;
-
动图的宽
Declaration
Objective-C
@property (nonatomic) double width;
-
动图的高
Declaration
Objective-C
@property (nonatomic) double height;
-
动图是否镜像
Declaration
Objective-C
@property (nonatomic) BOOL mirror;
-
初始化方法
Declaration
Objective-C
- (id)initWithDict:(NSDictionary *)dict;
Parameters
dict
初始化参数
Return Value
动图实例
-
API_AVAILABLE(3.7.0)
添加动画 注意:在倒播特效下,不支持此功能
Declaration
Objective-C
- (void)runAction:(AliyunAction *)action;
Parameters
action
动画
-
API_AVAILABLE(3.7.0)
停止动画
Declaration
Objective-C
- (void)stopAction:(AliyunAction *)action;
Parameters
action
动画
-
停止所有动画
Declaration
Objective-C
- (void)stopAllActions;
-
获取所有动画
Declaration
Objective-C
- (NSArray *)allActions;
Return Value
动画集合
-
视频导出分辨率
Declaration
Objective-C
@property (nonatomic) CGSize outputSize;