在MXML图形中绘制一个圆弧 [英] draw a circular arc in MXML Graphics
本文介绍了在MXML图形中绘制一个圆弧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢!
f
解决方案
我最终创建了自己的mxml图形组件来绘制弧线。我重写Ellipse Spark原语,并使用AS作为弧算术 - 主要复制这个伟大的帖子,其中指向此代码。
Is there a simple way to draw a circular arc in MXML graphics that doesn't involve beziers? Or should I create my own component?
thank you !
f
解决方案
I ended up creating my own mxml graphics component to draw arcs. I override Ellipse Spark primitive and use AS for the arc math - mostly copying this great post, which points to this code.
这篇关于在MXML图形中绘制一个圆弧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文