BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKPrismOverlayView.h
浏览该文件的文档.
1 //
2 // BMKPrismOverlayView.h
3 // MapComponent
4 //
5 // Created by zhangbaojin on 2021/4/19.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8
9 #ifndef BMKPrismOverlayView_h
10 #define BMKPrismOverlayView_h
11
12 #import "BMKOverlayGLBasicView.h"
13 #import "BMKPrismOverlay.h"
14
16 enum BMKBuildingFloorAnimateType
17 {
18 kBMKBuildingFloorAnimateSlow = 0,
19 kBMKBuildingFloorAnimateNormal,
20 kBMKBuildingFloorAnimateFast
21 };
22 typedef enum BMKBuildingFloorAnimateType BMKBuildingFloorAnimateType;
23
24 @protocol BMKPrismOverlayViewDelegate;
25
26
27 NS_ASSUME_NONNULL_BEGIN
28
30 @interface BMKPrismOverlayView : BMKOverlayGLBasicView
31
35 - (nullable instancetype)initWithPrismOverlay:(BMKPrismOverlay *)prismOverlay;
36
38 @property (nonatomic, readonly) BMKPrismOverlay *prismOverlay;
39
41 @property (nonatomic, weak) id<BMKPrismOverlayViewDelegate> delegate;
42
44 @property (nonatomic, strong) UIColor *topFaceColor;
45
47 @property (nonatomic, strong) UIColor *sideFaceColor;
48
50 @property (nonatomic, strong) UIImage *sideTextureImage;
51
52
53 @end
54
55 @interface BMKPrismOverlayView (BuildingAPI)
56
58 @property (nonatomic, strong) UIColor *floorColor;
59
61 @property (nonatomic, strong, nullable) UIImage *floorSideTextureImage;
62
64 @property (nonatomic, assign) BOOL isGrowthAnimation;
65
67 @property (nonatomic, assign) int showLevel;
68
70 @property (nonatomic, assign) BOOL isRoundedCorner;
71
74 @property (nonatomic, assign) CGFloat roundedCornerRadius;
75
78 @property (nonatomic, assign) BMKBuildingFloorAnimateType buildingFloorAnimateType;
79
80 @end
81
83 @protocol BMKPrismOverlayViewDelegate <NSObject>
84 @optional
85
87 - (void)prismOverlayViewFloorAnimationDidEnd:(BMKPrismOverlayView *)prismOverlayView;
88
89 @end
90
91 NS_ASSUME_NONNULL_END
92
93 #endif /* BMKPrismOverlayView_h */
BMKPrismOverlayView::prismOverlay
BMKPrismOverlay * prismOverlay
该View对应的3D棱柱数据对象
Definition: BMKPrismOverlayView.h:38
kBMKBuildingFloorAnimateNormal
@ kBMKBuildingFloorAnimateNormal
正常
Definition: BMKPrismOverlayView.h:19
BMKOverlayGLBasicView.h
BMKPrismOverlayView::delegate
id< BMKPrismOverlayViewDelegate > delegate
3D棱柱代理 since 6.5.7
Definition: BMKPrismOverlayView.h:41
kBMKBuildingFloorAnimateFast
@ kBMKBuildingFloorAnimateFast
快
Definition: BMKPrismOverlayView.h:20
BMKPrismOverlayView::sideTextureImage
UIImage * sideTextureImage
3D棱柱侧面纹理
Definition: BMKPrismOverlayView.h:50
BMKBuildingFloorAnimateType
BMKBuildingFloorAnimateType
自定义建筑物楼层动画
Definition: BMKPrismOverlayView.h:17
BMKPrismOverlayView::topFaceColor
UIColor * topFaceColor
3D棱柱顶面颜色
Definition: BMKPrismOverlayView.h:44
BMKPrismOverlayViewDelegate-p
3D棱柱代理
Definition: BMKPrismOverlayView.h:83
kBMKBuildingFloorAnimateSlow
@ kBMKBuildingFloorAnimateSlow
慢
Definition: BMKPrismOverlayView.h:18
BMKPrismOverlay
此类用于定义一个3D棱柱 since 6.4.0
Definition: BMKPrismOverlay.h:16
BMKPrismOverlayView
此类用于定义一个3D棱柱View since 6.4.0
Definition: BMKPrismOverlayView.h:31
BMKPrismOverlayView(BuildingAPI)
Definition: BMKPrismOverlayView.h:55
BMKOverlayGLBasicView
该类定义了一个用opengl绘制的OverlayView的基类，如果需要用gdi进行绘制请继承于BMKOverlayPathView类
Definition: BMKOverlayGLBasicView.h:14
BMKPrismOverlayView::sideFaceColor
UIColor * sideFaceColor
3D棱柱侧面颜色
Definition: BMKPrismOverlayView.h:47
BMKPrismOverlay.h