BaiduMap_IOSSDK_v6.6.7_Docs 6.6.7

BMKInterpolator.h
浏览该文件的文档.
1 //
2 // BMKInterpolator.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2024/3/12.
6 // Copyright © 2024 Baidu. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 // 插值器类型
14 typedef enum : NSUInteger {
18 BMKLinearInterpolator = 1,
22 BMKAccelerateDecelerateInterpolator,
26 BMKAccelerateInterpolator,
30 BMKDecelerateInterpolator,
34 BMKAnticipateInterpolator,
38 BMKOvershootInterpolator,
42 BMKAnticipateOvershootInterpolator,
46 BMKBounceInterpolator,
50 BMKCycleInterpolator,
51 } BMKInterpolatorType;
52
53 @interface BMKInterpolator : NSObject
54 + (instancetype)linearInterpolator;
55
56 + (instancetype)interpolatorWithType:(BMKInterpolatorType)type;
57
58 + (instancetype)accelerateInterpolatorWithFactor:(float)factor;
59
60 + (instancetype)decelerateInterpolatorWithFactor:(float)factor;
61
62 + (instancetype)anticipateInterpolatorWithTension:(float)tension;
63
64 + (instancetype)anticipateOvershootInterpolatorWithTension:(float)tension extraTension:(float)extra;
65
66 + (instancetype)cycleInterpolatorWithCycles:(float)cycle;
67
68 + (instancetype)overshootInterpolatorWithTension:(float)tension;
69 @end
70
71 NS_ASSUME_NONNULL_END
BMKAnticipateOvershootInterpolator
@ BMKAnticipateOvershootInterpolator
Definition: BMKInterpolator.h:42
BMKBounceInterpolator
@ BMKBounceInterpolator
Definition: BMKInterpolator.h:46
BMKInterpolatorType
BMKInterpolatorType
Definition: BMKInterpolator.h:14
BMKInterpolator
Definition: BMKInterpolator.h:54
BMKOvershootInterpolator
@ BMKOvershootInterpolator
Definition: BMKInterpolator.h:38
BMKAccelerateDecelerateInterpolator
@ BMKAccelerateDecelerateInterpolator
Definition: BMKInterpolator.h:22
BMKDecelerateInterpolator
@ BMKDecelerateInterpolator
Definition: BMKInterpolator.h:30
BMKCycleInterpolator
@ BMKCycleInterpolator
Definition: BMKInterpolator.h:50
BMKLinearInterpolator
@ BMKLinearInterpolator
Definition: BMKInterpolator.h:18
BMKAnticipateInterpolator
@ BMKAnticipateInterpolator
Definition: BMKInterpolator.h:34
+[BMKInterpolator linearInterpolator]
instancetype linearInterpolator()
BMKAccelerateInterpolator
@ BMKAccelerateInterpolator
Definition: BMKInterpolator.h:26