編輯

共用方式為


SKLabelNode.FromFont(String) Method

Definition

Creates a new label node with the specified font.

[Foundation.Export("labelNodeWithFontNamed:")]
public static SpriteKit.SKLabelNode FromFont (string fontName);
static member FromFont : string -> SpriteKit.SKLabelNode

Parameters

fontName
String

To be added.

This parameter can be null.

Returns

Attributes

Applies to