我正在尝试使用Core Graphics绘制一个类似的图像:
我能够绘制主弧,但我无法理解,如何将弧分成零件/在弧上绘制刻度?我当前绘制弧的代码是:
[path addArcWithCenter:point radius:radius startAngle:DEGREES_TO_RADIANS(specific_start_angle) endAngle:DEGREES_TO_RADIANS(specific_end_angle) clockwise:NO];
Run Code Online (Sandbox Code Playgroud)
我尝试使用,strokeWithBlendMode但我面临着毕业或蜱的位置问题.