Click or drag to resize

ControlAddFontOverride Method

Overrides the font with given name in the Theme resource the control uses. If font is null or invalid, the override is cleared and the font from assigned Theme is used.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AddFontOverride(
	string name,
	Font font
)

Parameters

name
Type: SystemString

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

font
Type: GodotFont

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

See Also