专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 图形/图像

Image倒影成效

发布时间:2011-06-27 20:28:33 文章来源:www.iduyao.cn 采编人员:星星草
Image倒影效果

     利用spark的BitmapImage实现倒影效果

 

  

<s:BitmapImage source="@Embed(source='images/sdp/112.png')" smooth="true"   
				   width="{image.width}" height="{image.height}" 
				   maskType="alpha" scaleY="-1" id="reflection2" 
				   filters="{[blur2]}">
		<s:mask>
			<s:Group>
				<s:Rect width="{image.width}" height="{image.height}">
					<s:fill>
						<s:LinearGradient rotation="-90">
							<s:GradientEntry color="white" alpha="1"/>
							<s:GradientEntry color="white" alpha="0" ratio=".4"/>
						</s:LinearGradient>
					</s:fill>
				</s:Rect>
			</s:Group>
		</s:mask>
	</s:BitmapImage>

 

友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: