开发者

Draw rectangle with dashed border in flex?

开发者 https://www.devze.com 2023-02-18 06:39 出处:网络
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:

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

精彩评论

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