Layer Time and buffering

Source: Internet
Author: User

Duration: Specifies the time for an iteration of the animation that will be performed;

RepeatCount: Represents the number of iterations that the animation repeats. If the duration is 2,repeatcount set to 3.5 (three half iterations), then the full animation duration will be 7 seconds;

Duration and RepeatCount are all 0 by default. But this does not mean that the animation is 0 seconds or 0 times, where 0 represents only the "default", that is, 0.25 seconds and 1 times

BeginTime: Specifies the delay time before the animation starts. The delay here is measured from the moment the animation is added to the visible layer, which defaults to 0 (which means the animation executes immediately)

Speed: is a multiple of a time, the default 1.0, reducing it slows down the layer/animation time, and increasing it speeds up. If the speed of 2.0, then for a duration 1 of the animation, in fact, in 0.5 seconds time has been completed;

Timeoffset: Similar to BeginTime, but unlike the delay animations that increase begintime, increasing the timeoffset just makes the animation fast forward to a point, for example, for an animation that lasts for 1 seconds, Setting Timeoffset to 0.5 means that the animation will start from half of the place. Unlike BeginTime, Timeoffset is not influenced by speed. So if you set the speed to 2.0 and the Timeoffset to 0.5, then your animation will start at the end of the animation, since the 1-second animation is actually shortened to 0.5 seconds. However, even if the timeoffset is used to let the animation start at the end, it still plays a full length of time, the animation just loops around and then starts playing from the beginning

Layer Time and buffering

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.