iOS高德地图SDK(2D)  v5.6.0
MACircleView Class Reference

该类是MACircle的显示圆View,可以通过MAOverlayPathView修改其fill和stroke attributes More...

#import <MACircleView.h>

Inheritance diagram for MACircleView:
MAOverlayPathView MAOverlayView

Instance Methods

(id) - initWithCircle:
 根据指定圆生成对应的View More...
 
- Instance Methods inherited from MAOverlayPathView
(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...
 
- Instance Methods inherited from MAOverlayView
(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

MACirclecircle
 关联的MAcirlce model More...
 
- Properties inherited from MAOverlayPathView
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...
 
- Properties inherited from MAOverlayView
id< MAOverlay > overlay
 关联的overlay对象 More...
 
CGFloat alpha
 overlay的透明度 More...
 
CGFloat contentScaleFactor
 context的比例系数 More...
 

Detailed Description

该类是MACircle的显示圆View,可以通过MAOverlayPathView修改其fill和stroke attributes

Method Documentation

◆ initWithCircle:()

- (id) initWithCircle: (MACircle *)  circle

根据指定圆生成对应的View

Parameters
circle指定的MACircle model
Returns
生成的View

Property Documentation

◆ circle

- (MACircle*) circle
readnonatomicassign

关联的MAcirlce model


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。