AEPAction

@interface AEPAction : NSObject

动画基类

  • 动画ID

    Declaration

    Objective-C

    @property (nonatomic, readonly) int actionId;
  • 时间线上的开始时间(秒)

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval timelineIn;
  • 时间线上的结束时间(秒)

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval timelineOut;
  • 动画延迟时间 单位:秒. API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSTimeInterval timelineInOffset;
  • 动画运行插值 - see: AliyunActionInterpolator. API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunActionInterpolator actionInterpolator;
  • 动画开始前是否可见 API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL fillBefore;
  • 动画结束后是否保持 API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL fillAfter;
  • 循环模式 - see: AliyunActionRepeatMode API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunActionRepeatMode repeatMode;
  • 循环次数 API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) int repeatCount;
  • 子节点动画参数,仅当scope = AliyunActionScopePart 有效. API_AVAILABLE(3.25.0)

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSDictionary *partParam;
  • API_AVAILABLE(3.25.0) 自定义动画的配置脚本,开发者可以自行配置每种动画在每一个时间刻度的具体动画值,以实现各种各样的变换速度 配置脚本的格式是采用键值对,是以分号“;"为间隔的键值对列表,键就是时间刻度,值则分单值和双值,比如旋转角度这种只需要描述角度值, 则使用单值,而像位移、缩放这种,需要x,y的值,则使用双值,双值的两个值之间用逗号","间隔,键和值之间以冒号":"间隔。 举例:旋转角度变化的"0.0:0.123;0.1:0.245;0.3:0.798"。 位移变化的"0.0:0.234,1.47;0.1:2.3,4.565;0.2:3.45,6.78”

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *animationConfig;

    Parameters

    animationConfig

    配置脚本

  • API_AVAILABLE(3.25.0)

    动画标识,标识业务层动画

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *sourceId;
  • 编辑器中的动画对象

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) AliyunAction *editorAction;