CAKeyFrameAnimation.Values 属性

定义

设置关键帧动画值。

public virtual Foundation.NSObject[] Values { [Foundation.Export("values", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setValues:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Values : Foundation.NSObject[] with get, set

属性值

此值可为 null

属性

注解

若要传递数字,请使用 值创建 的 NSNumber 实例,若要传递其他值,请使用 NSValue

如果需要传递 CoreGraphics 对象,或从可能包含 CoreGraphics 对象的关键帧中检索元素,则应改用 M:CoreAnimation.CAKeyFrameAnimation.SetValuesGetValuesAs<T>() 方法。

适用于