Silverlight Simulate Nano5 interface effect

Source: Internet
Author: User
Tags reflection silverlight

A while ago accidentally found that the ipod Nano5 will appear after a dynamic selection of song interface (as shown below), feel good and want to use Silverlight to achieve this effect, welcome everyone to Pat Bricks.

Originally is put demo demo, but this program how also show not come out, had to use the picture (interesting words can download source code):

In the process of making the more cumbersome part of the reflection effect, the first practice is to use the same album picture two times: one as the album cover, one as a reflection effect. To the reflection effect picture Rendertransform->scaley inversion and opacitymask->lineargradientbrush gradient processing, this operation occurs after a problem: not selected There is a gap between the cover and the Reflection of the album (pictured below). This is because the cover and reflection on the planeprojection->rotationy three-dimensional rotation will make them according to their respective axes of rotation, not a whole rotation and poor deviation. If the combination of two pictures for a stackpanel or canvas and then rotate the feeling should be able to (but need a lot of code to achieve, efficiency may be reduced, interested friends can test), and finally lazy with PS to the picture made a reflection ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.