BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

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
OutCirc
@ OutCirc
Definition: BMKAnimation.h:18
InCubic
@ InCubic
Definition: BMKAnimation.h:13
InOutBounce
@ InOutBounce
Definition: BMKAnimation.h:21
OutQuad
@ OutQuad
Definition: BMKAnimation.h:12
OutBounce
@ OutBounce
Definition: BMKAnimation.h:21
OutInCirc
@ OutInCirc
Definition: BMKAnimation.h:18
OutInQuad
@ OutInQuad
Definition: BMKAnimation.h:12
OutInBounce
@ OutInBounce
Definition: BMKAnimation.h:21
InBack
@ InBack
Definition: BMKAnimation.h:20
SineCurve
@ SineCurve
Definition: BMKAnimation.h:22
InCurve
@ InCurve
Definition: BMKAnimation.h:22
InOutCirc
@ InOutCirc
Definition: BMKAnimation.h:18
OutInBack
@ OutInBack
Definition: BMKAnimation.h:20
InOutExpo
@ InOutExpo
Definition: BMKAnimation.h:17
OutInSine
@ OutInSine
Definition: BMKAnimation.h:16
InOutQuint
@ InOutQuint
Definition: BMKAnimation.h:15
OutExpo
@ OutExpo
Definition: BMKAnimation.h:17
OutQuint
@ OutQuint
Definition: BMKAnimation.h:15
InQuart
@ InQuart
Definition: BMKAnimation.h:14
InExpo
@ InExpo
Definition: BMKAnimation.h:17
InOutBack
@ InOutBack
Definition: BMKAnimation.h:20
InOutQuad
@ InOutQuad
Definition: BMKAnimation.h:12
OutBack
@ OutBack
Definition: BMKAnimation.h:20
OutInQuint
@ OutInQuint
Definition: BMKAnimation.h:15
InQuad
@ InQuad
线性
Definition: BMKAnimation.h:12
InSine
@ InSine
Definition: BMKAnimation.h:16
CosineCurve
@ CosineCurve
Definition: BMKAnimation.h:22
InElastic
@ InElastic
Definition: BMKAnimation.h:19
InOutElastic
@ InOutElastic
Definition: BMKAnimation.h:19
OutElastic
@ OutElastic
Definition: BMKAnimation.h:19
InQuint
@ InQuint
Definition: BMKAnimation.h:15
BMKAnimation::type
BMKAnimationType type
动画缓动函数类型，默认0：线性
Definition: BMKAnimation.h:31
InOutQuart
@ InOutQuart
Definition: BMKAnimation.h:14
OutInExpo
@ OutInExpo
Definition: BMKAnimation.h:17
OutCurve
@ OutCurve
Definition: BMKAnimation.h:22
InBounce
@ InBounce
Definition: BMKAnimation.h:21
OutInCubic
@ OutInCubic
Definition: BMKAnimation.h:13
OutCubic
@ OutCubic
Definition: BMKAnimation.h:13
InOutCubic
@ InOutCubic
Definition: BMKAnimation.h:13
OutInElastic
@ OutInElastic
Definition: BMKAnimation.h:19
InCirc
@ InCirc
Definition: BMKAnimation.h:18
Linear
@ Linear
Definition: BMKAnimation.h:11
OutQuart
@ OutQuart
Definition: BMKAnimation.h:14
OutInQuart
@ OutInQuart
Definition: BMKAnimation.h:14
BMKAnimationType
BMKAnimationType
Definition: BMKAnimation.h:10
InOutSine
@ InOutSine
Definition: BMKAnimation.h:16
BMKAnimation::duration
int duration
设置动画总时长，默认为0ms，
Definition: BMKAnimation.h:29
OutSine
@ OutSine
Definition: BMKAnimation.h:16