DMKOverlayPathRenderer Class Reference

Inherits from DMKOverlayRenderer : NSObject
Declared in DMKOverlayPathRenderer.h

Overview

该类提供使用CGPathRef来绘制overlay,默认的操作是使用fill attributes, stroke attributes绘制当前path到context中, 可以使用该类的子类DMKCircleRenderer, DMKPolylineRenderer, DMKPolygonRenderer

  fillColor

填充颜色

@property (nonatomic, strong) UIColor *fillColor

Discussion

填充颜色

Declared In

DMKOverlayPathRenderer.h

  strokeColor

画笔颜色,只取RGB值,丢掉Alpha值

@property (nonatomic, strong) UIColor *strokeColor

Discussion

画笔颜色,只取RGB值,丢掉Alpha值

Declared In

DMKOverlayPathRenderer.h

  lineWidth

画笔宽度,默认为0

@property (nonatomic, assign) CGFloat lineWidth

Discussion

画笔宽度,默认为0

Declared In

DMKOverlayPathRenderer.h