Share via


CASpringAnimation.FromKeyPath(String) Method

Definition

Creates a new animation from the specified key path.

[Foundation.Export("animationWithKeyPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreAnimation.CABasicAnimation FromKeyPath(string? path);
[<Foundation.Export("animationWithKeyPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromKeyPath : string -> CoreAnimation.CABasicAnimation

Parameters

path
String

To be added.

This parameter can be null.

Returns

Attributes

Applies to