Click or drag to resize

ControlHasFont Method

Returns true if font with given name and associated with Control of given node_type exists in assigned Theme.

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

Parameters

name
Type: SystemString

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

nodeType (Optional)
Type: SystemString

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

Return Value

Type: Boolean

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

See Also