CAPropertyAnimation.FromKeyPath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a property animation from the specified keypath.
[Foundation.Export("animationWithKeyPath:")]
public static CoreAnimation.CAPropertyAnimation FromKeyPath (string path);
static member FromKeyPath : string -> CoreAnimation.CAPropertyAnimation
Parameters
Returns
The new animation.
- Attributes
Remarks
The animation created will animate the property specified by the keypath.
Property | Action |
---|---|
anchorPoint | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
backgroundColor | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. Subproperties are animated with basic animations. |
backgroundFilters | Animates using a CATransition for 0.25 seconds or the duration of the transaction. The default animation type is CATransition.Fade and the range is from 0.0 to 1.0. The filter subproperties are animated with a CABasicAnimation. |
borderColor | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
borderWidth | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
bounds | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
compositingFilter | Animates using a CATransition for 0.25 seconds or the duration of the transaction. The default animation type is CATransition.Fade and the range is from 0.0 to 1.0. Subproperties are animated with basic animations. |
contents | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
contentsRect | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
cornerRadius | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
doubleSided | No default implied animation is set. |
filters | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. Sub-properties of the filters are animated using the default implied CABasicAnimation described in Table 10. |
frame | The frame property itself is not animatable. You can achieve the same results by modifying the bounds and position properties instead. |
hidden | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
mask | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. This property is available only on Mac OS X. |
masksToBounds | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
opacity | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
position | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
shadowColor | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. This property is available only on Mac OS X. |
shadowOffset | Uses the default implied CABasicAnimation described in Table 10. This property is available only on Mac OS X. |
shadowOpacity | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. This property is available only on Mac OS X. |
shadowRadius | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. This property is available only on Mac OS X. |
sublayers | Animates using a CATransition for 0.25 seconds or the duration of the transaction. The default animation type is CATransition.Fade and the range is from 0.0 to 1.0.. |
sublayerTransform | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
transform | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |
zPosition | Animates for 0.25 seconds or the duration of the current transaction using a CABasicAnimation. |