在 Photoshop/Illustrator 中绘制路径,在 iOS 中使用它

发布于 2024-10-06 11:33:39 字数 132 浏览 0 评论 0原文

我正在寻找一种比以编程方式绘制路径更方便的方法。有没有办法在 Photoshop(或 Illustrator)中绘制路径并将该路径获取到 iPhone 以在 CAKeyframeAnimation 中使用?例如通过导出点数据,或通过导入.ai 文件?

I am looking for a more convenient way of drawing a path than by drawing it programmatically. Is there any way of drawing a path in Photoshop (or Illustrator) and getting that path to the iPhone to use in a CAKeyframeAnimation? e.g. by exporting the point data, or by importing the .ai file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

稚气少女 2024-10-13 11:33:39

有一个名为“PocketSVG”的 GitHub 项目,可以从 SVG 文件创建 UIBezier 对象。它与在 Adob​​e Illustrator 中创建并导出到 SVG Tiny 1.2 的形状完美配合。

There's a GitHub project called "PocketSVG" that can create UIBezier objects from SVG files. It works perfectly with shapes created in Adobe Illustrator and exported to SVG Tiny 1.2.

时光是把杀猪刀 2024-10-13 11:33:39

我最终使用了Opacity。 Opacity 是一个漂亮的小程序,它允许您绘制路径(或导入图像)并导出 iOS 源代码(例如 Quartz)。

I ended up using Opacity. Opacity is a nifty little program that will allow you to draw paths (or import images) and export source code for iOS (e.g. Quartz).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文