BaiduMap_IOSSDK_v6.6.2_Docs 6.6.2
载入中...
搜索中...
未找到
构造函数 | 属性 | 所有成员列表
BMKPrismOverlayView类 参考

此类用于定义一个3D棱柱View since 6.4.0 更多...

#include <BMKPrismOverlayView.h>

类 BMKPrismOverlayView 继承关系图:
BMKOverlayGLBasicView BMKOverlayView

构造函数

(nullable instancetype) - initWithPrismOverlay:
 
- 构造函数 继承自 BMKOverlayGLBasicView
(CGPathRef path) - __deprecated_msg
 path对象
 
(BOOL lineDash) - __deprecated_msg
 是否为虚线样式,默认NO
 
(BOOL tileTexture) - __deprecated_msg
 是否纹理图片平铺绘制,默认NO
 
- 构造函数 继承自 BMKOverlayView
(nullable instancetype) - initWithOverlay:
 
(GLuint) - loadStrokeTextureImage:
 
(BOOL) - loadStrokeTextureImages:
 
(void) - setOverlayGeometryDelegate:
 设置该overlay的GeometryDelegate
 
(CGPoint) - pointForMapPoint:
 
(BMKMapPoint- mapPointForPoint:
 
(CGRect) - rectForMapRect:
 
(BMKMapRect- mapRectForRect:
 
(BOOL) - canDrawMapRect:zoomScale:
 
(void) - drawMapRect:zoomScale:inContext:
 
(void) - setNeedsDisplayInMapRect:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:looped:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDashType:
 
(void) - renderLinesWithPoints:pointCount:strokeColor:lineWidth:looped:lineDash:
 
(void) - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:
 
(void) - renderTexturedLinesWithPartPoints:lineWidth:textureIndexs:isFocus:tileTexture:keepScale:
 
(void) - renderTexturedLinesWithPoints:pointCount:lineWidth:textureID:strokeColor:looped:tileTexture:keepScale:
 
(void) - renderTexturedPolyLineWithPoints:lineWidth:textureID:strokeColor:isFoucs:keepScale:lineJoinType:lineCapType:
 
(void) - renderMultiTexturedPolyLineWithPartPoints:lineWidth:textureIndexs:isFoucs:keepScale:lineJoinType:lineCapType:
 
(void) - renderDashPolyLineWithPoints:lineWidth:strokeColor:lineDashType:
 
(void) - renderMultiDashPolyLineWithPartPoints:lineWidth:textureIndexs:lineDashType:
 
(void) - renderRegionWithPoints:pointCount:fillColor:usingTriangleFan:
 
(void) - renderATRegionWithPoint:pointCount:fillColor:usingTriangleFan:
 
(void) - rendeCircleWithPoints:pointCount:lineWidth:fillColor:strokeColor:
 
(void) - rendePolygonWithPoints:pointCount:lineWidth:fillColor:strokeColor:
 
(void) - glRender
 

属性

BMKPrismOverlayprismOverlay
 该View对应的3D棱柱数据对象
 
id< BMKPrismOverlayViewDelegatedelegate
 3D棱柱代理 since 6.5.7
 
UIColor * topFaceColor
 3D棱柱顶面颜色
 
UIColor * sideFaceColor
 3D棱柱侧面颜色
 
UIImage * sideTextureImage
 3D棱柱侧面纹理
 
UIColor * floorColor
 自定义建筑物的楼层颜色 (仅对建筑物生效) since 6.5.7
 
UIImage * floorSideTextureImage
 自定义建筑物的楼层侧面纹理 (仅对建筑物生效) since 6.5.7
 
BOOL isGrowthAnimation
 是否开启生长动画 (仅对建筑物生效),默认YES
 
int showLevel
 自定义建筑物显示层级 (仅对建筑物生效), 默认18
 
BOOL isRoundedCorner
 是否设置圆角,默认为NO since 6.6.2
 
CGFloat roundedCornerRadius
 
BMKBuildingFloorAnimateType buildingFloorAnimateType
 
- 属性 继承自 BMKOverlayGLBasicView
UIImage * textureImage
 
BOOL keepScale
 纹理图片是否缩放,默认NO
 
- 属性 继承自 BMKOverlayView
id< BMKOverlayoverlay
 关联的overlay对象
 
GLuint strokeTextureID
 关联的纹理对象ID
 

额外继承的成员函数

- Protected 属性 继承自 BMKOverlayView
package id< BMKOverlay_overlay
 
BMKMapRect _boundingMapRect
 
CGAffineTransform _mapTransform
 
id _geometryDelegate
 
id _canDrawCache
 
BOOL keepScale
 
CFTimeInterval _lastTile
 
CFRunLoopTimerRef _scheduledScaleTimer
 
struct { 
 
   unsigned int   keepAlive:1 
 
   unsigned int   levelCrossFade:1 
 
   unsigned int   drawingDisabled:1 
 
   unsigned int   usesTiledLayer:1 
 
_flags 
 

详细描述

此类用于定义一个3D棱柱View since 6.4.0

函数文档

◆ initWithPrismOverlay:

- (nullable instancetype) initWithPrismOverlay: (BMKPrismOverlay *) prismOverlay

根据指定的3D棱柱生成一个3D棱柱View

参数
prismOverlay指定的3D棱柱数据对象
返回
新生成的多边形View

属性说明

◆ buildingFloorAnimateType

- (BMKBuildingFloorAnimateType) buildingFloorAnimateType
readwritenonatomicassign

自定义建筑物的楼层动画类型 默认 kBMKBuildingFloorAnimateNormal

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ delegate

- (id<BMKPrismOverlayViewDelegate>) delegate
readwritenonatomicweak

3D棱柱代理 since 6.5.7

◆ floorColor

- (UIColor*) floorColor
readwritenonatomicstrong

自定义建筑物的楼层颜色 (仅对建筑物生效) since 6.5.7

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ floorSideTextureImage

- (UIImage*) floorSideTextureImage
readwritenonatomicstrong

自定义建筑物的楼层侧面纹理 (仅对建筑物生效) since 6.5.7

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ isGrowthAnimation

- (BOOL) isGrowthAnimation
readwritenonatomicassign

是否开启生长动画 (仅对建筑物生效),默认YES

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ isRoundedCorner

- (BOOL) isRoundedCorner
readwritenonatomicassign

是否设置圆角,默认为NO since 6.6.2

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ prismOverlay

- (BMKPrismOverlay*) prismOverlay
readnonatomicassign

该View对应的3D棱柱数据对象

◆ roundedCornerRadius

- (CGFloat) roundedCornerRadius
readwritenonatomicassign

当设置圆角时,最大的圆角半径,可根据实际体验调整。since 6.6.2 建议参考值1 ~ 10 默认为5.0f

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ showLevel

- (int) showLevel
readwritenonatomicassign

自定义建筑物显示层级 (仅对建筑物生效), 默认18

由 category BMKPrismOverlayView(BuildingAPI) 提供.

◆ sideFaceColor

- (UIColor*) sideFaceColor
readwritenonatomicstrong

3D棱柱侧面颜色

◆ sideTextureImage

- (UIImage*) sideTextureImage
readwritenonatomicstrong

3D棱柱侧面纹理

◆ topFaceColor

- (UIColor*) topFaceColor
readwritenonatomicstrong

3D棱柱顶面颜色


该类的文档由以下文件生成: