设为首页
优惠IDC
收藏本站
六狼博客
六狼论坛
开启辅助访问
切换到窄版
用户名
Email
自动登录
找回密码
密码
登录
立即注册
只需一步,快速开始
只需一步,快速开始
快捷导航
门户
首页
BBS
云计算
大数据
手机
移动开发android,ios,windows phone,windows mobile
编程
编程技术java,php,python,delphi,ruby,c,c++
前端
WEB前端htmlcss,javascript,jquery,html5
数据库
数据库开发Access,mysql,oracle,sql server,MongoDB
系统
操作系统windows,linux,unix,os,RedHat,tomcat
架构
项目管理
软件设计,架构设计,面向对象,设计模式,项目管理
企业
服务
运维实战
神马
搜索
搜索
热搜:
php
java
python
ruby
hadoop
sphinx
solr
ios
android
windows
centos
本版
帖子
用户
六狼论坛
»
首页
›
WEB前端
›
Html/Css
›
FLEX实例:几款滤镜效果实例.
返回列表
查看:
103
|
回复:
0
FLEX实例:几款滤镜效果实例.
[复制链接]
javasogo
javasogo
当前离线
积分
1687
窥视卡
雷达卡
升级
34.35%
当前用户组为
探花
当前积分为
1687
, 升到下一级还需要 1313 点。
547
主题
547
主题
547
主题
探花
探花, 积分 1687, 距离下一级还需 1313 积分
探花, 积分 1687, 距离下一级还需 1313 积分
积分
1687
发消息
楼主
|
发表于 2013-2-7 19:04:48
|
显示全部楼层
|
阅读模式
1:聚光灯效果:
实例:
http://www.rphelan.com/flex/SpotlightDemo/SpotlightDemo.html
ambientColor - color to apply to all pixels of the image
angle - angle at which the spotlight is projected (in degrees)
azimuth - angle between the image plane and the spotlight (in degrees)
coneAngle - angle of the spotlight's "opening" (in degrees)
distance - distance from the spotlight to the center point
intensity - intensity of the spotlight
position - x, y, z position of the spotlight
spotColor - color of the spotlight
源文件:
http://www.rphelan.com/flex/SpotlightDemo/srcview/index.html
2:放大镜效果:
实例:
http://www.rphelan.com/flex/MagnifyDemo/MagnifyDemo.html
center ([0-2048, 0-2048]) - the center coordinates of the magnified area
outerRadius (0-500) - the radius of the magnified part of the image
innerRadius (0-500) - the radius of the
fully
magnified part of the image
magnification (1-50) - the amount to magnify the image by (e.g. set to 2 for a 2x magnification)
源文件:
http://www.rphelan.com/flex/MagnifyDemo/srcview/index.html
3:缩放模糊效果:
实例:
http://www.rphelan.com/flex/ZoomBlurDemo/ZoomBlurDemo.html
amount (0 - 0.5) - the amount of blur to apply
center ([0 - 2048, 0 - 2048]) - the focal point of the blur
源文件:
http://www.rphelan.com/flex/ZoomBlurDemo/srcview/index.html
4:浮雕效果:
实例:
http://www.rphelan.com/flex/SharpenDemo/SharpenDemo.html
amount (0 - 20) - the amount to sharpen the image by
radius (0 - 1) - pixel distance to sample from
源文件:
http://www.rphelan.com/flex/SharpenDemo/srcview/index.html
5:水波效果:
实例:
http://www.rphelan.com/flex/WaveReflectionDemo/WaveReflectionDemo.html
amplitude (0-1) - the height of the waves
frequency (0-.54) - how close together the waves are. Higher value = more waves.
progress (0-1) - percentage of the wave sequence. Animate from 0 to 1 to get a smooth wave effect.
源文件:
http://www.rphelan.com/flex/WaveReflectionDemo/srcview/index.html
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
千斤顶
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
立即注册
本版积分规则
发表回复
回帖后跳转到最后一页
浏览过的版块
nginx
Copyright © 2008-2020
六狼论坛
(http://it.6wolf.com) 版权所有 All Rights Reserved.
Powered by
Discuz!
X3.4
京ICP备14020293号-2
本网站内容均收集于互联网,如有问题请联系
QQ:389897944
予以删除
快速回复
返回顶部
返回列表