代码如下:
case .LayerType_XuXian_Circle:
self.title = "画虚线"
//画虚线
let dotteShapLayer = CAShapeLayer()
let mdotteShapePath = CGPathCreateMutable()
dotteShapLayer.fillColor = UIColor.clearColor().CGColor
dotteShapLayer.strokeColor = UIColor.orangeColor().CGColor
dotteShapLayer.lineWidth = 2.0
CGPathAddEllipseInRect(mdotteShapePath, nil, CGRectMake(100.0