VisualServerCanvasItemAddLine Method |
Adds a line command to the CanvasItem's draw commands.
Namespace: Godot
public static void CanvasItemAddLine( RID item, Vector2 from, Vector2 to, Color color, float width = 1f, bool antialiased = false )
[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemAddLine(Godot.RID,Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="from"/> documentation for "M:Godot.VisualServer.CanvasItemAddLine(Godot.RID,Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="to"/> documentation for "M:Godot.VisualServer.CanvasItemAddLine(Godot.RID,Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="color"/> documentation for "M:Godot.VisualServer.CanvasItemAddLine(Godot.RID,Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="width"/> documentation for "M:Godot.VisualServer.CanvasItemAddLine(Godot.RID,Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]
[Missing <param name="antialiased"/> documentation for "M:Godot.VisualServer.CanvasItemAddLine(Godot.RID,Godot.Vector2,Godot.Vector2,Godot.Color,System.Single,System.Boolean)"]