BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
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
25NS_ASSUME_NONNULL_BEGIN
27@interface BMKAnimation : NSObject
29@property (nonatomic, assign) int duration;
31@property (nonatomic, assign) BMKAnimationType type;
32@end
33
34NS_ASSUME_NONNULL_END
BMKAnimationType
BMKAnimationType
Definition BMKAnimation.h:10
InOutElastic
@ InOutElastic
Definition BMKAnimation.h:19
InOutQuart
@ InOutQuart
Definition BMKAnimation.h:14
OutInSine
@ OutInSine
Definition BMKAnimation.h:16
CosineCurve
@ CosineCurve
Definition BMKAnimation.h:22
OutInQuint
@ OutInQuint
Definition BMKAnimation.h:15
OutInBack
@ OutInBack
Definition BMKAnimation.h:20
InCurve
@ InCurve
Definition BMKAnimation.h:22
InOutSine
@ InOutSine
Definition BMKAnimation.h:16
Linear
@ Linear
Definition BMKAnimation.h:11
InBounce
@ InBounce
Definition BMKAnimation.h:21
InOutCirc
@ InOutCirc
Definition BMKAnimation.h:18
InCirc
@ InCirc
Definition BMKAnimation.h:18
OutBounce
@ OutBounce
Definition BMKAnimation.h:21
OutElastic
@ OutElastic
Definition BMKAnimation.h:19
OutInExpo
@ OutInExpo
Definition BMKAnimation.h:17
InQuint
@ InQuint
Definition BMKAnimation.h:15
SineCurve
@ SineCurve
Definition BMKAnimation.h:22
OutExpo
@ OutExpo
Definition BMKAnimation.h:17
OutSine
@ OutSine
Definition BMKAnimation.h:16
OutQuart
@ OutQuart
Definition BMKAnimation.h:14
OutInQuart
@ OutInQuart
Definition BMKAnimation.h:14
OutCurve
@ OutCurve
Definition BMKAnimation.h:22
OutQuint
@ OutQuint
Definition BMKAnimation.h:15
InOutBack
@ InOutBack
Definition BMKAnimation.h:20
OutInElastic
@ OutInElastic
Definition BMKAnimation.h:19
InOutQuint
@ InOutQuint
Definition BMKAnimation.h:15
InOutQuad
@ InOutQuad
Definition BMKAnimation.h:12
InQuad
@ InQuad
线性
Definition BMKAnimation.h:12
OutInCirc
@ OutInCirc
Definition BMKAnimation.h:18
InOutExpo
@ InOutExpo
Definition BMKAnimation.h:17
OutInCubic
@ OutInCubic
Definition BMKAnimation.h:13
OutInBounce
@ OutInBounce
Definition BMKAnimation.h:21
InOutBounce
@ InOutBounce
Definition BMKAnimation.h:21
InQuart
@ InQuart
Definition BMKAnimation.h:14
OutInQuad
@ OutInQuad
Definition BMKAnimation.h:12
InElastic
@ InElastic
Definition BMKAnimation.h:19
OutQuad
@ OutQuad
Definition BMKAnimation.h:12
InBack
@ InBack
Definition BMKAnimation.h:20
InOutCubic
@ InOutCubic
Definition BMKAnimation.h:13
OutCirc
@ OutCirc
Definition BMKAnimation.h:18
InExpo
@ InExpo
Definition BMKAnimation.h:17
InSine
@ InSine
Definition BMKAnimation.h:16
OutCubic
@ OutCubic
Definition BMKAnimation.h:13
InCubic
@ InCubic
Definition BMKAnimation.h:13
OutBack
@ OutBack
Definition BMKAnimation.h:20
BMKAnimation
动画类
Definition BMKAnimation.h:28
BMKAnimation::duration
int duration
设置动画总时长，默认为0ms，
Definition BMKAnimation.h:29
BMKAnimation::type
BMKAnimationType type
动画缓动函数类型，默认0：线性
Definition BMKAnimation.h:31