iOS高德地图SDK(2D)
v5.6.0
|
该类是MACircle的显示圆View,可以通过MAOverlayPathView修改其fill和stroke attributes More...
#import <MACircleView.h>
Instance Methods | |
(id) | - initWithCircle: |
根据指定圆生成对应的View More... | |
![]() | |
(void) | - createPath |
子类需要重载该方法并设置(self.path = newPath) More... | |
(void) | - invalidatePath |
释放当前path,调用之后 path == NULL More... | |
(void) | - applyStrokePropertiesToContext:atZoomScale: |
将当前的stroke attributes设置到指定的context More... | |
(void) | - applyFillPropertiesToContext:atZoomScale: |
将当前的fill attributes设置到指定的context More... | |
(void) | - strokePath:inContext: |
绘制path More... | |
(void) | - fillPath:inContext: |
填充path More... | |
![]() | |
(id) | - initWithOverlay: |
初始化并返回一个overlay view More... | |
(CGPoint) | - pointForMapPoint: |
将MAMapPoint转化为相对于receiver的本地坐标 More... | |
(MAMapPoint) | - mapPointForPoint: |
将相对于receiver的本地坐标转化为MAMapPoint More... | |
(CGRect) | - rectForMapRect: |
将MAMapRect转化为相对于receiver的本地rect More... | |
(MAMapRect) | - mapRectForRect: |
将相对于receiver的本地rect转化为MAMapRect More... | |
(BOOL) | - canDrawMapRect:zoomScale: |
判断overlay view是否可以绘制包含的内容 More... | |
(void) | - drawMapRect:zoomScale:inContext: |
绘制overlay view的内容 More... | |
(void) | - setNeedsDisplay |
(void) | - setNeedsDisplayInMapRect: |
重绘指定map rect内的内容 More... | |
(void) | - setNeedsDisplayInMapRect:zoomScale: |
重绘指定zoom scale下map rect内的内容 More... | |
Properties | |
MACircle * | circle |
关联的MAcirlce model More... | |
![]() | |
UIColor * | fillColor |
填充颜色,默认是[UIColor colorWithRed:0 green:1 blue:0 alpha:0.6] More... | |
UIColor * | strokeColor |
笔触颜色,默认是[UIColor colorWithRed:1 green:0 blue:0 alpha:0.6] More... | |
CGFloat | lineWidth |
笔触宽度,默认是0 More... | |
CGLineJoin | lineJoin |
LineJoin,默认是kCGLineJoinRound. More... | |
CGLineCap | lineCap |
LineCap,默认是kCGLineCapRound. More... | |
CGFloat | miterLimit |
MiterLimit,默认是10.f. More... | |
CGFloat | lineDashPhase |
LineDashPhase,默认是0.f. More... | |
NSArray * | lineDashPattern |
LineDashPattern,默认是nil. More... | |
CGPathRef | path |
当前的path More... | |
![]() | |
id< MAOverlay > | overlay |
关联的overlay对象 More... | |
CGFloat | alpha |
overlay的透明度 More... | |
CGFloat | contentScaleFactor |
context的比例系数 More... | |
该类是MACircle的显示圆View,可以通过MAOverlayPathView修改其fill和stroke attributes
- (id) initWithCircle: | (MACircle *) | circle |
根据指定圆生成对应的View
circle | 指定的MACircle model |
|
readnonatomicassign |
关联的MAcirlce model