CanvasItemDrawLine Method |
Draws a line from a 2D point to another, with a given color and width. It can be optionally antialiased.
Namespace: Godot
public void DrawLine( Vector2 from, Vector2 to, Color color, float width = 1f, bool antialiased = false )
[Missing <param name="from"/> documentation for "M:Godot.CanvasItem.DrawLine(Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="to"/> documentation for "M:Godot.CanvasItem.DrawLine(Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="color"/> documentation for "M:Godot.CanvasItem.DrawLine(Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="width"/> documentation for "M:Godot.CanvasItem.DrawLine(Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="antialiased"/> documentation for "M:Godot.CanvasItem.DrawLine(Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]