次の方法で共有


SKShapeNode.FromEllipse メソッド

定義

オーバーロード

FromEllipse(CGRect)

指定した四角形から新しい楕円図形ノードを作成します。

FromEllipse(CGSize)

サイズから新しい楕円図形ノードを作成します。

FromEllipse(CGRect)

指定した四角形から新しい楕円図形ノードを作成します。

[Foundation.Export("shapeNodeWithEllipseInRect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKShapeNode FromEllipse (CoreGraphics.CGRect rect);
static member FromEllipse : CoreGraphics.CGRect -> SpriteKit.SKShapeNode

パラメーター

rect
CGRect

戻り値

属性

適用対象

FromEllipse(CGSize)

サイズから新しい楕円図形ノードを作成します。

[Foundation.Export("shapeNodeWithEllipseOfSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKShapeNode FromEllipse (CoreGraphics.CGSize size);
static member FromEllipse : CoreGraphics.CGSize -> SpriteKit.SKShapeNode

パラメーター

size
CGSize

戻り値

属性

適用対象