iOS画线粗细
CGContextRef contextLine =UIGraphicsGetCurrentContext();
CGContextSetLineWidth(contextLine,0.5);//线条的粗细
CGContextSetRGBStrokeColor(contextLine,0.5, 0.5, 0.5, 0.5);//线条颜色
CGContextMoveToPoint(contextLine,20, 180);
CGContextAddLineToPoint(contextLine, SCREEN_WIDTH-20,180);
CGContextStrokePath(contextLine);