惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google Online Security Blog
Google Online Security Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
Cisco Talos Blog
Cisco Talos Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Scott Helme
Scott Helme
Project Zero
Project Zero
E
Exploit-DB.com RSS Feed
S
Secure Thoughts
K
Kaspersky official blog
L
Lohrmann on Cybersecurity
NISL@THU
NISL@THU
WordPress大学
WordPress大学
N
News and Events Feed by Topic
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LINUX DO - 热门话题
小众软件
小众软件
P
Privacy & Cybersecurity Law Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
About on SuperTechFans
Hacker News: Ask HN
Hacker News: Ask HN
AWS News Blog
AWS News Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Hacker News: Front Page
F
Full Disclosure
Latest news
Latest news
Schneier on Security
Schneier on Security
The Hacker News
The Hacker News
T
Troy Hunt's Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Jina AI
Jina AI
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
TaoSecurity Blog
TaoSecurity Blog
G
GRAHAM CLULEY
Forbes - Security
Forbes - Security
V
V2EX - 技术
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Vulnerabilities – Threatpost
C
Cyber Attacks, Cyber Crime and Cyber Security
MongoDB | Blog
MongoDB | Blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
P
Privacy International News Feed
C
Check Point Blog
N
News and Events Feed by Topic

博客园 - davin

Beginning Asp.Net Security 读书笔记-----XSS phonegap3.0+HTMLl5 开发 ipad app 总结 移动支付-修复FireFox在android移动设备下面的Session 丢失的问题 Window.history.forward(1) 阻止页面后退详解 Pro WPF and Silverlight MVVM:第5章 Event and Command 读书笔记 Pro WPF and Silverlight MVVM 第4章ViewModel 读书笔记 Silverlight4:Devexpress Report Useful rules for compatible with FF,safari and ie8 Entity Framework 4.0 FK Properties && FK Associations Entity Framework 4.0 recipes 读书笔记2 ExecuteStoreQuery() Entity Framework 4.0 Recipes 读书笔记1 EDM中的 Complex Type sqlserver2008 + team foundation server 2008 sp1 silverlight animation 读书笔记(4)三角函数 silverlight animation 读书笔记(3)坐标与向量 silverlight animation 读书笔记<2>模糊, 裁剪,拖拽 在silverlight中打开调用外部程序的几种方式 Entity Framework object && Json 序列化的问题 silverlight3:(ItemControl 的)UI Virtualization SharpZipLib 数据压缩
foundation silverligh3 animation 读书笔记<1>transform
davin · 2010-08-22 · via 博客园 - davin

最基本的动画效果当属transform,它分为translate,rotate,scale,skew,flip这几种形式,下面是我简要的总结

Translate:只要是位置上的变化(基于动画对象x,y轴这种位置的变化)

Rotate:自身的旋转,在blend里transform标签下的Rotate设置angle,angle>0,顺时针旋转;angle<0则是

Scale:自身的缩放。eg:scale x=2,则动画对象x轴方向放大2倍,

Skew:倾斜,  x,y轴的倾斜

Flip:(这个不太好描述)在看过具体的动画效果后,我觉得 翻转比较贴切(沿x,y轴)

在使用上面的这几种形式的transform 时都应选好centerpoint(参照点,我觉得很重要)。

看到园子里面也有朋友写关于transform的文章,具体的步骤也懒得说了。基本上这本书中的前面3章中基本上讲的就是这些基本的动画。

1.skew and centerPoint

 这个例子是这本书里面的一个例子,我做的一些改进,让这个类似风扇旋转的效果。这个动画效果的改进的关键点就在于centerpoint的选取,显然在这个Rotate动画里面centerPoint选取的是中间的轴。

2.通常上面说到的动画效果都是对动画体,当然也有的一些动画效果是通过改变动画体的属性来实现的 比如opacity,visiblity,height,width,,color关于这几个我都做过练习

3.Flip 这个动画效果男理解,特别是x,y轴同时翻转时,出来的动画效果几乎没发去理解,如下图中第3个球的效果