AliyunScaleAction

@interface AliyunScaleAction : AliyunAction

* A class that defines scale animations.

  • * The initial scale factor.

    Declaration

    Objective-C

    @property (nonatomic) float fromScale;
  • * The target scale factor.

    Declaration

    Objective-C

    @property (nonatomic) float toScale;
  • * is enabled using anchor, if not, anchor on center of self; default: NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL enabledAnchor;
  • * The Anchor. [0, 1], default: (0.5, 0.5)

    Declaration

    Objective-C

    @property (nonatomic) CGPoint anchor;
  • * The Scale of anchor, using to calculate trans offset; default: 1.0

    Declaration

    Objective-C

    @property (nonatomic) CGFloat anchorBaseScale;
  • Deprecated

    deprecated

    * Initializer.

    Declaration

    Objective-C

    - (id)initWithRestore:(NSDictionary *)dict;

    Parameters

    dict

    The initialization parameter.

    Return Value

    A scale animation object.