图像滑动过渡效果 [英] Image Sliding transition effects

查看:95
本文介绍了图像滑动过渡效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,

我正在使用WPF(C#)创建一个应用程序。在这个画布上有很多图像。我想使用滑动手势移动它。正在移动我希望得到一个效果,任何人都可以体验到这个图像正在移动。

Hello Everyone,
I am creating an application using WPF (C#).In this there are many number of images present on the canvas.I want to move this using swipe gestures.while the image is moving i want to get an effects such that anyone can experience that image is moving.

推荐答案

你的意思是你想要一个翻页效果的书页?...这需要相当多的数学来计算当前页面和下一页的角度分别被覆盖和显示,但是看看 https:/ /github.com/thinkpixellab/bot [ ^ ]



它有很酷的WPF技巧,页面翻转就是其中之一,那么你就可以在你的gesture.GestureRecorgnized()事件中连接页面动画代码假设你已整理出来。
Do you mean you want a book page flip like effect?... this would require quite a bit of mathematics to calculate angles of the current page and next page being overlayed and display respectively, but have a look at https://github.com/thinkpixellab/bot[^]

It has cool WPF tricks, and a page flip is one of them, then you'd hook up the page animation code in your gesture.GestureRecorgnized() event, which I assume you have sorted out.


这篇关于图像滑动过渡效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆