AEPScaleAction
@interface AEPScaleAction : AEPAction
缩放动画类
-
缩放的起始缩放比例
Declaration
Objective-C
@property (nonatomic, readonly) float from;
-
缩放的终点缩放比例
Declaration
Objective-C
@property (nonatomic, readonly) float to;
-
是否启用缩放锚点,不开启则以物体自身中心点缩放
Declaration
Objective-C
@property (nonatomic, readonly) BOOL scaleAnchorEnable;
-
缩放锚点:参考缩放基准值,用于计算trans偏移,默认为1.0
Declaration
Objective-C
@property (nonatomic, readonly) float anchorBaseScale;
-
锚点坐标,[0,1],默认值: (0.5, 0.5)
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint anchor;