Flex 拖动并调整大小

发布于 2024-07-24 20:32:14 字数 123 浏览 3 评论 0原文

我需要通过鼠标在画布上拖动来绘制线条、圆形和矩形,然后需要移动绘制的形状并调整其大小。 我如何在 Flex 中执行此操作,因为我是这个平台的新手。 请建议我该方法或参考任何带有源代码的示例,以便我理解。 请帮忙。 提前致谢。

I need to draw Line, Circle, and rectangle by mouse drag on canvas and then i need to to move and resize the drawn shapes.
How i can perform this in flex as i am new on this platform.
Please suggest me the method or refer any example with source to make it understand to me.
Please Help.
Thanks in Advance.

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

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

发布评论

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

评论(1

香草可樂 2024-07-31 20:32:14

Flex 中没有这样的原生功能。 但是,有几个选项,商业的和非商业的:

http://www.rogue-development .com/objectHandles.html(免费)
http://www.flashcomguru.com/components/flex_whiteboard/whiteboard_demo/ (付费)

如果您愿意,您可以手工完成,这并不难。 我建议您使用 Degrafa (http://degrafa.org/) 进行实际绘图,因为它更容易比原生绘图 API 更重要,而且它是开源的。

There is no such native feature in Flex. But, there are a couple of options, commercial and not:

http://www.rogue-development.com/objectHandles.html (free)
http://www.flashcomguru.com/components/flex_whiteboard/whiteboard_demo/ (payed)

You can do it by hand, if you wish, it's not very hard. I advice you to use Degrafa (http://degrafa.org/) for the actual drawing since it is way easier than native drawing API and it is opensource.

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