BaiduMap_IOSSDK_v6.6.1_Docs
BMKAnimation.h
1 //
2 // BMKAnimation.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2021/11/29.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 typedef enum : NSUInteger {
11  Linear,
12  InQuad, OutQuad, InOutQuad, OutInQuad,
13  InCubic, OutCubic, InOutCubic, OutInCubic,
14  InQuart, OutQuart, InOutQuart, OutInQuart,
15  InQuint, OutQuint, InOutQuint, OutInQuint,
16  InSine, OutSine, InOutSine, OutInSine,
17  InExpo, OutExpo, InOutExpo, OutInExpo,
18  InCirc, OutCirc, InOutCirc, OutInCirc,
19  InElastic, OutElastic, InOutElastic, OutInElastic,
20  InBack, OutBack, InOutBack, OutInBack,
21  InBounce, OutBounce, InOutBounce, OutInBounce,
22  InCurve, OutCurve, SineCurve, CosineCurve
23 } BMKAnimationType;
24 
25 NS_ASSUME_NONNULL_BEGIN
27 @interface BMKAnimation : NSObject
29 @property (nonatomic, assign) int duration;
31 @property (nonatomic, assign) BMKAnimationType type;
32 @end
33 
34 NS_ASSUME_NONNULL_END
BMKAnimation
动画类
Definition: BMKAnimation.h:28
BMKAnimation::type
BMKAnimationType type
动画缓动函数类型,默认0:线性
Definition: BMKAnimation.h:31
BMKAnimation::duration
int duration
设置动画总时长,默认为0ms,
Definition: BMKAnimation.h:29