请告诉我应该如何使用NSBezierPath添加循环进程。我知道appendBezierPathWithArcWithCenter的方法,但它是如何工作的。提前感谢
NSBezierPath * path = [NSBezierPath bezierPath];
[path setLineWidth:2];
NSPoint center = { 250,250 };
[path moveToPoint: center];
[path appendBezierPathWithArcWithCenter: center
radius: 64
startAngle: 0
endAngle: 321];
[[NSColor whiteColor] set];
[path fill];
[[NSColor grayColor] set];
[path stroke];
查看cocoadevcentral