AliyunScaleAction
@interface AliyunScaleAction : AliyunAction
缩放动画类
-
缩放的起始缩放比例
Declaration
Objective-C
@property (nonatomic) float fromScale;
-
缩放的终点缩放比例
Declaration
Objective-C
@property (nonatomic) float toScale;
-
是否启用缩放锚点,不开启则以物体自身中心点缩放,默认NO
Declaration
Objective-C
@property (nonatomic) BOOL enabledAnchor;
-
锚点坐标,[0,1],默认值: (0.5, 0.5)
Declaration
Objective-C
@property (nonatomic) CGPoint anchor;
-
缩放锚点:参考缩放基准值,用于计算trans偏移,默认为1.0
Declaration
Objective-C
@property (nonatomic) CGFloat anchorBaseScale;
-
Deprecated
deprecated
初始化方法
Declaration
Objective-C
- (id)initWithRestore:(NSDictionary *)dict;
Parameters
dict
初始化参数
Return Value
缩放动画实例