VisualServerCanvasItemAddPolyline Method |
Adds a polyline, which is a line from multiple points with a width, to the CanvasItem's draw commands.
Namespace: Godot
public static void CanvasItemAddPolyline( RID item, Vector2[] points, Color[] colors, float width = 1f, bool antialiased = false )
[Missing <param name="item"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolyline(Godot.RID,Godot.Vector2[],Godot.Color[],System.Single,System.Boolean)"]
[Missing <param name="points"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolyline(Godot.RID,Godot.Vector2[],Godot.Color[],System.Single,System.Boolean)"]
[Missing <param name="colors"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolyline(Godot.RID,Godot.Vector2[],Godot.Color[],System.Single,System.Boolean)"]
[Missing <param name="width"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolyline(Godot.RID,Godot.Vector2[],Godot.Color[],System.Single,System.Boolean)"]
[Missing <param name="antialiased"/> documentation for "M:Godot.VisualServer.CanvasItemAddPolyline(Godot.RID,Godot.Vector2[],Godot.Color[],System.Single,System.Boolean)"]