次の方法で共有


CABasicAnimation.FromKeyPath(String) メソッド

定義

指定したキー パスからアニメーションを作成します。

[Foundation.Export("animationWithKeyPath:")]
public static CoreAnimation.CABasicAnimation FromKeyPath (string path);
static member FromKeyPath : string -> CoreAnimation.CABasicAnimation

パラメーター

path
String

アニメーションのキーパスを表す文字列。

このパラメーターは、null に設定できます。

戻り値

新しいアニメーション。

属性

注釈

キー パスの値については、基本クラスの FromKeyPath を参照してください。

適用対象