`
yexin218
  • 浏览: 958896 次
  • 性别: Icon_minigender_1
  • 来自: 珠海
社区版块
存档分类
最新评论

Rounded Colorized Image Borders

    博客分类:
  • Flex
阅读更多

This week I ran across a really cool demo application using images within Flex.

Russel Brown’s SmartImage component will take an image, add a rounded border and colorize that border based on the average colors within the image.

Here is a live sample (View Source is Enabled):

Here is a simple use example.

<graphics:RoundedImage
            width="200" height="150"
            borderStyle="dynamic"
            borderWidth="6"
            cornerRadius="11"
            source="@Embed('Winter.jpg')"
 />

 For full source click here .

 

From: http://blog.everythingflex.com/2009/04/24/rounded-colorized-image-borders/

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics