IOS Core Animation Caanimation Introduction

Source: Internet
Author: User
<span id="Label3"></p><p><p><span style="font-size: 24px; color: rgb(31, 73, 125);">Inheritance structure of caanimation</span></p></p><p><p><br></p></p><p><p></p></p><p><p><span style="font-size: 18px;">Caanimation is the parent of all animations, is responsible for controlling the duration and speed of the animation, is an abstract class, cannot be used directly, to use its word class</span></p></p><p><p><span style="font-size: 18px;">1.duration: duration of animation</span></p></p><p><p><span style="font-size: 18px;">2.repeatCount: the animation repeats at this point, the infinite loop can be set to Huge_valf or Maxfloat</span></p></p><p><p><span style="font-size: 18px;">3.repeatDuriation: Repeat Time</span></p></p><p><p><span style="font-size: 18px;">4.removedOnCompletion: The default is yes, which means that after the animation is removed from the layer, the layer reverts to the state before the animation is executed, and if you want the animation to remain at the end of the state, set the property to no, But also need to set the animation Fillmode to kcafillmodeforwards;</span></p></p><p><p><span style="font-size: 18px;">5.fillMode: determines the behavior of the current object during non-activity time<br></span></p></p><p><p><span style="font-size: 18px;">6.beginTime: set the time for the animation to delay execution: 2 seconds cacurrrentmediatime () +2; <span style="font-size: 18px; line-height: 22.5px;">Cacurrrentmediatime () is the current time of the layer</span></span></p></p><p><p><span style="font-size: 18px;">7.timingFuncation: control the speed of animation</span></p></p><p><p><span style="font-size: 18px;">8.delegate: Set up Proxy</span></p></p><p><p><br></p></p><p><p><br></p></p><p><p>IOS Core Animation Caanimation Introduction</p></p></span>

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.