开发者

Draw rectangle with dashed border in flex?

Draw rectangle wit开发者_开发问答h dashed border in flex ?


There is no built-in method for this in the drawing API unfortunately. You can Google for some workarounds like this one: http://www.getw3help.com/2009/10/dashed-rectangle-border-in-flash.html

Hopefully helps, Rob


Personally, if you're using Flex4, I would create a new Skin for whichever component you're trying to style (or just BorderContainer if you just want a blank rectangle). And from within the skin, I would pogrammically add the 4 dashed lines.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜