Click or drag to resize

ControlGetFont Method

Returns a font from assigned Theme with given name and associated with Control of given node_type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Font GetFont(
	string name,
	string nodeType = ""
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Control.GetFont(System.String,System.String)"]

nodeType (Optional)
Type: SystemString

[Missing <param name="nodeType"/> documentation for "M:Godot.Control.GetFont(System.String,System.String)"]

Return Value

Type: Font

[Missing <returns> documentation for "M:Godot.Control.GetFont(System.String,System.String)"]

See Also