- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
WinPhone学习笔记(三)——WinPhone的动画(WinPhone learning notes (3) -- animation of WinPhone)
This paragraph of time always drive task again, the results did not go to study, also does not have to write a blog post, the contents of this animation school early, but never put it into a blog post, free at last, you can get it now.
Lets start by talking about animation in WinPhone with two types of animation, one based on frame animation and the other based on time animation. The next animated feature is Silverlight animation, Silverlight animation is a useful xaml description, and is also described in the traditional cs code file. Subsequent content is based on Silverlight animation, key frame animation, animation trigger mechanism, perspective transform animation, priority. The next step is to describe the content in detail.
Classification of animation
Frame-based animation: one frame per call, and a change in the call of a function.
Time-based animation: although each time it is called on a function, the change in call time is the time dependent variable.
The following example USES two types of animation, which are animated with words revolving around the center
First, the xmal file
1 lt; TextBlock Grid. Row = 0 Grid. Column = 0 Text = Time - base HorizontalAlignment = Center VerticalAlignment = Center RenderTransformOrigin = 0.5 gt;
2 lt; TextBlock. RenderTransform
3 lt; RotateTransform x: Name = rotate1 / gt;
4 lt; / TextBlock. RenderTransform
5 lt; / TextBlock
6
7 lt; TextBlock Grid. Row = 1 Grid. Column = 0 Text = Frame - base HorizontalAlignment = Center VerticalAlignment = Center RenderTransformOrigin = 0.5 gt;
8 lt; TextBlock. RenderTransform
9 lt; RotateTransform x: Name = rotate2 / gt;
10 lt; / TextBlock. RenderTransform
11 lt; / TextBlock
In the cs code file, you use the Rendering event, which needs to be registered in the constructor
CompositionTarget. Rendering + = CompositionTarget_Rendering;
The definition of the CompositionTarget_Rendering method is
您可能关注的文档
- 汇编语言指令英文全称(Assembly language command English full name).doc
- 汇总35家机器人概念股相关上市公司(A total of 35 related listed companies of robot stocks).doc
- 江宁一级高程闭合差(Jiangning primary elevation closure poor).doc
- 江苏vs浙江(Jiangsu vs zhejiang).doc
- 江苏建筑项目名称(Name of jiangsu construction project).doc
- 江苏江阴长江大桥(Jiangyin Yangtze river bridge in jiangsu province).doc
- 江苏省(低压电工作业)初训试题4(Jiangsu (low-voltage electrical work) initial training test 4).doc
- 江苏省《土地管理法》实施办法(修正)(注94年2月修改过)(Method of implementation of land management law in jiangsu province (amended in February 1994)).doc
- 江苏省本二大学宿舍条件(Conditions of dormitory of the 2nd university in jiangsu province).doc
- 江苏省建设工程质量检查员岗位培训参考资料考试电子小抄第十四章 屋面工程(Jiangsu province construction project quality inspector job training reference material test electronic copy chapter xii roof project).doc
- WLIN安装规范(WLIN installation specification).doc
- Words4(Words4).doc
- working_model_教程_5909_2133_20120228102408(_5909_2133_20120228102408 working_model_ tutorial).doc
- Word通用小窍门(Word general tips).doc
- WorldEdit 常用指令(WorldEdit is a common command).doc
- WOW坐骑代码(WOW mounts code).doc
- ws2涂层(Ws2 coating).doc
- XDS510-USB2.0 焊接调试说明(Xds510-usb2.0 welding debugging instructions).doc
- XC2006B位置控制仪使用说明书(The XC2006B position controller USES the instruction manual).doc
- XP可关闭服务详解(XP can turn off service details).doc
文档评论(0)