我有以下代码:-(void)drawRect:(CGRect)rect{CGContextRefc=UIGraphicsGetCurrentContext();CGContextSetFillColorWithColor(c,[UIColorblackColor].CGColor);CGContextFillRect(c,rect);CGContextSetLineJoin(c,kCGLineJoinRound);CGContextSetLineCap(c,kCGLineCapRound);CGContextSetLineWidth(c,50.0);CGContextSetStroke
我有以下代码:-(void)drawRect:(CGRect)rect{CGContextRefc=UIGraphicsGetCurrentContext();CGContextSetFillColorWithColor(c,[UIColorblackColor].CGColor);CGContextFillRect(c,rect);CGContextSetLineJoin(c,kCGLineJoinRound);CGContextSetLineCap(c,kCGLineCapRound);CGContextSetLineWidth(c,50.0);CGContextSetStroke