Editar

Compartilhar via


SKSpriteNode.ScaleTo(CGSize) Method

Definition

[Foundation.Export("scaleToSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ScaleTo (CoreGraphics.CGSize size);
abstract member ScaleTo : CoreGraphics.CGSize -> unit
override this.ScaleTo : CoreGraphics.CGSize -> unit

Parameters

size
CGSize
Attributes

Applies to