BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMKGeometryView.h
浏览该文件的文档.
1//
2// BMKGeometryView.h
3// MapComponent
4//
5// Created by zhangbaojin on 2021/7/28.
6// Copyright © 2021 Baidu. All rights reserved.
7//
8
9#import "BMKOverlayGLBasicView.h"
10
11NS_ASSUME_NONNULL_BEGIN
13@interface BMKGeometryView : BMKOverlayGLBasicView
14
18@property (nonatomic, strong, nullable) UIColor *fillColor;
19
23@property (nonatomic, strong, nullable) UIColor *strokeColor;
25@property (nonatomic, strong, nullable) UIColor *strokeColorProgressForward;
27@property (nonatomic, strong, nullable) UIColor *strokeColorProgressBackward;
28
30@property (nonatomic, assign) CGFloat lineWidth;
31
33@property (nonatomic, assign) BMKLineDashType lineDashType;
34
35@end
36NS_ASSUME_NONNULL_END
BMKLineDashType
BMKLineDashType
虚线绘制样式
Definition BMKLineDrawType.h:32
BMKOverlayGLBasicView.h
BMKGeometryView
该类定义了一个用opengl绘制geometry的基类
Definition BMKGeometryView.h:14
BMKGeometryView::lineDashType
BMKLineDashType lineDashType
虚线类型, since 5.0.0，默认kBMKLineDashTypeNone (仅支持颜色虚线)
Definition BMKGeometryView.h:33
BMKGeometryView::strokeColorProgressBackward
UIColor * strokeColorProgressBackward
加载绘制当前进度之后的部分的画笔颜色，不设置时当前进度之后的路线不显示，轨迹动画化使用 since 6.6.3
Definition BMKGeometryView.h:27
BMKGeometryView::lineWidth
CGFloat lineWidth
画笔宽度，默认为0
Definition BMKGeometryView.h:30
BMKGeometryView::strokeColor
UIColor * strokeColor
Definition BMKGeometryView.h:23
BMKGeometryView::fillColor
UIColor * fillColor
Definition BMKGeometryView.h:18
BMKGeometryView::strokeColorProgressForward
UIColor * strokeColorProgressForward
加载绘制当前进度之前的部分的画笔颜色，不设置时当前进度之前的路线不显示，轨迹动画化使用 since 6.6.3
Definition BMKGeometryView.h:25
BMKOverlayGLBasicView
该类定义了一个用opengl绘制的OverlayView的基类，如果需要用gdi进行绘制请继承于BMKOverlayPathView类
Definition BMKOverlayGLBasicView.h:14