draw a circular arc in MXML Graphics
问题 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 回答1: 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. 回答2: <s:Ellipse height="16" width="16"> <s:stroke> <s:SolidColorStroke color="0x000000" joints="square" caps="square"/> </s:stroke> <s:fill> <s:SolidColor color