CanvasItemDrawChar Method |
Draws a string character using a custom font. Returns the advance, depending on the character width and kerning with an optional next character.
Namespace: Godot
public float DrawChar( Font font, Vector2 position, string char, string next, Color? modulate = null )
[Missing <param name="font"/> documentation for "M:Godot.CanvasItem.DrawChar(Godot.Font,Godot.Vector2,System.String,System.String,System.Nullable{Godot.Color})"]
[Missing <param name="position"/> documentation for "M:Godot.CanvasItem.DrawChar(Godot.Font,Godot.Vector2,System.String,System.String,System.Nullable{Godot.Color})"]
[Missing <param name="char"/> documentation for "M:Godot.CanvasItem.DrawChar(Godot.Font,Godot.Vector2,System.String,System.String,System.Nullable{Godot.Color})"]
[Missing <param name="next"/> documentation for "M:Godot.CanvasItem.DrawChar(Godot.Font,Godot.Vector2,System.String,System.String,System.Nullable{Godot.Color})"]
[Missing <returns> documentation for "M:Godot.CanvasItem.DrawChar(Godot.Font,Godot.Vector2,System.String,System.String,System.Nullable{Godot.Color})"]