共用方式為


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 物件的主要畫面格擷取元素,您應該改用GetValuesAs<T>() 方法。

適用於