9 #import <UIKit/UIKit.h> 10 #import "BMKOverlayView.h" 16 UIColor *_strokeColor;
22 CGFloat _lineDashPhase;
23 NSArray *_lineDashPattern;
64 - (void)applyStrokePropertiesToContext:(CGContextRef)context
65 atZoomScale:(BMKZoomScale)zoomScale;
72 - (void)applyFillPropertiesToContext:(CGContextRef)context
73 atZoomScale:(BMKZoomScale)zoomScale;
79 - (void)strokePath:(CGPathRef)path inContext:(CGContextRef)context;
86 - (void)fillPath:(CGPathRef)path inContext:(CGContextRef)context;
该类是地图覆盖物View的基类,提供绘制overlay的接口但本身并无实现,所有地图覆盖物View需要继承自此类
Definition: BMKOverlayView.h:13
UIColor * fillColor
填充颜色
Definition: BMKOverlayPathView.h:29
CGLineJoin lineJoin
LineJoin,默认为kCGLineJoinRound
Definition: BMKOverlayPathView.h:36
CGFloat lineDashPhase
lineDashPhase, 默认为0
Definition: BMKOverlayPathView.h:42
CGFloat lineWidth
画笔宽度,默认为0
Definition: BMKOverlayPathView.h:34
CGFloat miterLimit
miterLimit,在样式为kCGLineJoinMiter时有效,默认为10
Definition: BMKOverlayPathView.h:40
NSArray * lineDashPattern
lineDashPattern,一个NSNumbers的数组,默认为nil
Definition: BMKOverlayPathView.h:44
CGPathRef path
path对象
Definition: BMKOverlayPathView.h:51
该类定义了一个基本的OverlayView
Definition: BMKOverlayPathView.h:13
UIColor * strokeColor
画笔颜色
Definition: BMKOverlayPathView.h:31
CGLineCap lineCap
LineCap,默认为kCGLineCapRound
Definition: BMKOverlayPathView.h:38