سؤال

Draw rectangle with 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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top