Silverlight Graphics: three-dimensional effects (pivot conversion)

Source: Internet
Author: User
Tags silverlight

You can use pivot transformations to apply three-dimensional effects to any Silverlight UIElement. For example, you can create the illusion that an object is rotated toward you or away from you, as shown in the following illustration.

Image converted using perspective

Although the perspective transformation that is applied to a simple image is shown in the previous illustration, you can apply perspective transformations to UIElement, including controls. For example, you can apply this effect to the Grid, which in turn includes a TextBox and a Button. Although the controls are rotated, users can type in the TextBox and click the Button (assuming that the controls are visible).

Another common scenario for using perspective transformations is to arrange objects relative to each other in order to create three-dimensional effects, as shown in the following illustration.

Stacking objects to create three-dimensional effects

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.