Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在绘制一个带有 8 个角的多边形的 CAShapeLayer。我想通过一次拖动一个或多个角来改变多边形的形状。我怎样才能做到这一点?
欢呼AF
不幸的是,我还没有解决方案。我一直在尝试不同的东西,但唯一对我稍微有用但不是最佳的方法是将角的变换应用为路径上应用的多个动画。