CALayer Animatable Properties
The following CALayer class properties can be animated by Core Animation. See CALayer for more information.
-
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1.(subproperties are animated using a basic animation) -
Uses the default implied
CATransitionAnimationdescribed in Table 2. Sub-properties of the filters are animated using the default impliedCABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CATransitionAnimationdescribed in Table 2. Sub-properties of the filters are animated using the default impliedCABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
No default implied animation is set.
-
Uses the default implied
CABasicAnimationdescribed in Table 1. Sub-properties of the filters are animated using the default impliedCABasicAnimationdescribed in Table 1. -
The frame property itself is not animatable. You can achieve the same results by modifying the
boundsandpositionproperties instead. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CATransitionAnimationdescribed in Table 2. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1. -
Uses the default implied
CABasicAnimationdescribed in Table 1.
| Description | Value |
|---|---|
| Class | CABasicAnimation |
|
| .25 seconds, or the duration of the current transaction |
| keyPath | Dependent on layer property type |
| Description | Value |
|---|---|
| Class | CATransition |
| duration | .25 seconds, or the duration of the current transaction |
| type | Fade ( |
| startProgress | 0.0 |
| endProgress | 1.0 |
本文详细介绍了 CALayer 类中可以使用 Core Animation 进行动画处理的各种属性,包括 anchorPoint、backgroundColor 和 borderWidth 等,并说明了这些属性默认使用的动画类型。
875

被折叠的 条评论
为什么被折叠?



