|
TencentMapSDK_iOS_3D_v1.3.3
|
属性 | |
| UIColor * | strokeColor |
| 线的颜色 | |
| CGFloat | lineWidth |
| 笔触宽度,默认是6。单位:逻辑像素 | |
| UIImage * | symbolImage |
| CGFloat | symbolGap |
| CGFloat | borderWidth |
| UIColor * | borderColor |
| 边线颜色 | |
属性 继承自 QPolylineView | |
| QPolyline * | polyline |
| 关联的QPolyline对象 | |
属性 继承自 QOverlayPathView | |
| UIColor * | fillColor |
| 填充颜色,默认是[UIColor colorWithRed:0 green:1 blue:0 alpha:0.6] | |
| UIColor * | strokeColor |
| 笔触颜色,默认是[UIColor colorWithRed:1 green:0 blue:0 alpha:0.6] | |
| CGFloat | lineWidth |
| 笔触宽度,默认是0 | |
| CGLineJoin | lineJoin |
| 折线拐点样式,默认是kCGLineJoinRound | |
| CGLineCap | lineCap |
| 线头尾样式,默认是kCGLineCapRound | |
| CGFloat | miterLimit |
| 线条交点样式参数,默认为10.f | |
| CGFloat | lineDashPhase |
| 虚线属性, 默认为0.f | |
| NSArray * | lineDashPattern |
| 虚线模式, 默认为nil | |
| CGPathRef | path |
| 当前path | |
属性 继承自 QOverlayView | |
| id< QOverlay > | overlay |
| 关联的overlay对象 | |
额外继承的成员函数 | |
构造函数 继承自 QPolylineView | |
| (id) | - initWithPolyline: |
| 根据指定的QPolyline生成一个多段线view 更多... | |
构造函数 继承自 QOverlayPathView | |
| (void) | - createPath |
| 子类需要重载该方法并设置(self.path = newPath) | |
| (void) | - invalidatePath |
| 释放当前path,调用之后 path == NULL | |
| (void) | - applyStrokePropertiesToContext:atZoomScale: |
| 将当前的stroke属性设置到指定的context 更多... | |
| (void) | - applyFillPropertiesToContext:atZoomScale: |
| 将当前的fill属性设置到指定的context 更多... | |
| (void) | - strokePath:inContext: |
| 绘制path 更多... | |
| (void) | - fillPath:inContext: |
| 填充path 更多... | |
构造函数 继承自 QOverlayView | |
| (id) | - initWithOverlay: |
| 初始化并返回一个overlayView 更多... | |
| (CGPoint) | - pointForMapPoint: |
| 将QMapPoint转化为相对于overlayView的坐标 更多... | |
| (CGPoint) | - pointForMapPoint:modifyDeviationTransform: |
| 将QMapPoint转化为相对于overlayView的坐标,*trans为了弥补32位运行环境下从coordinate转换成double再转换成CGPoint造成的精度丢失, 如果没有误差那么返回的trans为CGAffineTransformIdentity 更多... | |
| (QMapPoint) | - mapPointForPoint: |
| 将相对于overlayView的本地坐标转化为QMapPoint坐标 更多... | |
| (CGRect) | - rectForMapRect: |
| 将QMapRect转化为相对于overlayView的rect 更多... | |
| (QMapRect) | - mapRectForRect: |
| 将相对于overlayView的rect转化为QMapRect 更多... | |
| (BOOL) | - canDrawMapRect:zoomScale: |
| 判断overlayView是否可以绘制包含的内容 更多... | |
| (void) | - drawMapRect:zoomScale:inContext: |
| 绘制overlayView的内容 更多... | |
|
readwritenonatomicassign |
边线的宽度,如果为0则无边线。单位:逻辑像素
|
readwritenonatomicassign |
箭头的间隔,单位:线宽的倍率
|
readwritenonatomicstrong |
箭头的样式图片,默认为nil不绘制,请尽量传入nxn的图片