init
TypeScriptstatic initCircleOfRadius(radius: number): Promise<SKShapeNode>Swift declarationconvenience init(circleOfRadius radius: CGFloat)class · SDK 27.1
class SKShapeNodestatic initCircleOfRadius(radius: number): Promise<SKShapeNode>Swift declarationconvenience init(circleOfRadius radius: CGFloat)static initEllipseIn(rect: { x: number; y: number; width: number; height: number }): Promise<SKShapeNode>Swift declarationconvenience init(ellipseIn rect: CGRect)static initEllipseOf(size: { width: number; height: number }): Promise<SKShapeNode>Swift declarationconvenience init(ellipseOf size: CGSize)static initPath(path: _CoreGraphics_CGPath): Promise<SKShapeNode>Swift declarationconvenience init(path: CGPath)static initPathCentered(path: _CoreGraphics_CGPath, centered: boolean): Promise<SKShapeNode>Swift declarationconvenience init(path: CGPath, centered: Bool)static initPointsCount(points: "animatableData" | SDKHandle, numPoints: number): Promise<SKShapeNode>Swift declarationconvenience init(points: UnsafeMutablePointer<CGPoint>, count numPoints: Int)static initRect(rect: { x: number; y: number; width: number; height: number }): Promise<SKShapeNode>Swift declarationconvenience init(rect: CGRect)static initRectCornerRadius(rect: { x: number; y: number; width: number; height: number }, cornerRadius: number): Promise<SKShapeNode>Swift declarationconvenience init(rect: CGRect, cornerRadius: CGFloat)static initRectOf(size: { width: number; height: number }): Promise<SKShapeNode>Swift declarationconvenience init(rectOf size: CGSize)static initRectOfCornerRadius(size: { width: number; height: number }, cornerRadius: number): Promise<SKShapeNode>Swift declarationconvenience init(rectOf size: CGSize, cornerRadius: CGFloat)static initSplinePointsCount(points: "animatableData" | SDKHandle, numPoints: number): Promise<SKShapeNode>Swift declarationconvenience init(splinePoints points: UnsafeMutablePointer<CGPoint>, count numPoints: Int)setValue(value: SKAttributeValue, key: string): Promise<void>Swift declarationfunc setValue(_ value: SKAttributeValue, forAttribute key: String)value(key: string): Promise<(SKAttributeValue) | null>Swift declarationfunc value(forAttributeNamed key: String) -> SKAttributeValue?get isAntialiased(): Promise<boolean>Swift declarationvar isAntialiased: Bool { get set }setIsAntialiased(value: boolean): Promise<void>Swift declarationvar isAntialiased: Bool { get set }get attributeValues(): Promise<Record<string, SKAttributeValue>>Swift declarationvar attributeValues: [String : SKAttributeValue] { get set }setAttributeValues(value: Record<string, SKAttributeValue>): Promise<void>Swift declarationvar attributeValues: [String : SKAttributeValue] { get set }get blendMode(): Promise<SKBlendMode>Swift declarationvar blendMode: SKBlendMode { get set }setBlendMode(value: SKBlendMode): Promise<void>Swift declarationvar blendMode: SKBlendMode { get set }get fillColor(): Promise<_UIKit_UIColor>Swift declarationvar fillColor: UIColor { get set }setFillColor(value: _UIKit_UIColor): Promise<void>Swift declarationvar fillColor: UIColor { get set }get fillShader(): Promise<(SKShader) | null>Swift declarationvar fillShader: SKShader? { get set }setFillShader(value?: (SKShader) | null): Promise<void>Swift declarationvar fillShader: SKShader? { get set }get fillTexture(): Promise<(SKTexture) | null>Swift declarationvar fillTexture: SKTexture? { get set }setFillTexture(value?: (SKTexture) | null): Promise<void>Swift declarationvar fillTexture: SKTexture? { get set }get glowWidth(): Promise<number>Swift declarationvar glowWidth: CGFloat { get set }setGlowWidth(value: number): Promise<void>Swift declarationvar glowWidth: CGFloat { get set }get lineCap(): Promise<_CoreGraphics_CGLineCap>Swift declarationvar lineCap: CGLineCap { get set }setLineCap(value: _CoreGraphics_CGLineCap): Promise<void>Swift declarationvar lineCap: CGLineCap { get set }get lineJoin(): Promise<_CoreGraphics_CGLineJoin>Swift declarationvar lineJoin: CGLineJoin { get set }setLineJoin(value: _CoreGraphics_CGLineJoin): Promise<void>Swift declarationvar lineJoin: CGLineJoin { get set }get lineLength(): Promise<number>Swift declarationvar lineLength: CGFloat { get }get lineWidth(): Promise<number>Swift declarationvar lineWidth: CGFloat { get set }setLineWidth(value: number): Promise<void>Swift declarationvar lineWidth: CGFloat { get set }get miterLimit(): Promise<number>Swift declarationvar miterLimit: CGFloat { get set }setMiterLimit(value: number): Promise<void>Swift declarationvar miterLimit: CGFloat { get set }get path(): Promise<(_CoreGraphics_CGPath) | null>Swift declarationvar path: CGPath? { get set }setPath(value?: (_CoreGraphics_CGPath) | null): Promise<void>Swift declarationvar path: CGPath? { get set }get strokeColor(): Promise<_UIKit_UIColor>Swift declarationvar strokeColor: UIColor { get set }setStrokeColor(value: _UIKit_UIColor): Promise<void>Swift declarationvar strokeColor: UIColor { get set }get strokeShader(): Promise<(SKShader) | null>Swift declarationvar strokeShader: SKShader? { get set }setStrokeShader(value?: (SKShader) | null): Promise<void>Swift declarationvar strokeShader: SKShader? { get set }get strokeTexture(): Promise<(SKTexture) | null>Swift declarationvar strokeTexture: SKTexture? { get set }setStrokeTexture(value?: (SKTexture) | null): Promise<void>Swift declarationvar strokeTexture: SKTexture? { get set }get customPlaygroundQuickLook(): Promise<SDKHandle>Swift declaration@MainActor @preconcurrency var customPlaygroundQuickLook: PlaygroundQuickLook { get }A custom playground Quick Look for this instance. If this type has value semantics, the `PlaygroundQuickLook` instance should be unaffected by subsequent mutations.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SKShapeNode.init()
inherited init: cannot prove legal (class declares 15 custom initializers)