Posted By

GunnarHKarlsson on 10/09/11


Tagged

path


Versions (?)

Path example


 / Published in: MXML
 

  1. <s:Path x="1" y="1" filters="{[graphicLib.getDropShadowFilter()]}"
  2. data = " M 0 0
  3. L 207 0
  4. L 207 180
  5. L 30 180
  6. L 0 200
  7. L 0 0 ">
  8. <s:stroke>
  9. <s:SolidColorStroke color="0x888888"/>
  10. </s:stroke>
  11. <s:fill>
  12. <s:LinearGradient rotation="90">
  13. <s:GradientEntry color="0xffffff"/>
  14. <s:GradientEntry color="0xeeeeee"/>
  15. </s:LinearGradient>
  16. </s:fill>
  17.  
  18. </s:Path>
  19.  
  20. <s:Image id="teaserImage" x="5" y="5" maxHeight="150" click="onTeaserImageClick()"/>

Report this snippet  

You need to login to post a comment.