【发布时间】:2018-06-26 10:16:56
【问题描述】:
我正在使用CGMutablePath 绘制一个 wifi 标志。当我通过addArc(center:radius:startAngle:endAngle:clockwise:transform:)绘制第二条弧线时,它会自动画一条线,就像If the path already contains a subpath, this method adds a line connecting the current point to the starting point of the arc.指定的文档一样。没有这条线我怎么画?谢谢
【问题讨论】:
-
移动点。
-
@ElTomato 所以我必须计算下一个弧路径的起点并移动到下一个点?
-
我不太清楚,因为你没有显示一行代码。但不只是移动圆心的问题吗?另外,我并不是真正的 iOS 用户。
标签: swift core-graphics cgpath