Click or drag to resize

CanvasItemDrawPolyline Method

Draws interconnected line segments with a uniform color and width and optional antialiasing.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void DrawPolyline(
	Vector2[] points,
	Color color,
	float width = 1f,
	bool antialiased = false
)

Parameters

points
Type: GodotVector2

[Missing <param name="points"/> documentation for "M:Godot.CanvasItem.DrawPolyline(Godot.Vector2[],Godot.Color,System.Single,System.Boolean)"]

color
Type: GodotColor

[Missing <param name="color"/> documentation for "M:Godot.CanvasItem.DrawPolyline(Godot.Vector2[],Godot.Color,System.Single,System.Boolean)"]

width (Optional)
Type: SystemSingle

[Missing <param name="width"/> documentation for "M:Godot.CanvasItem.DrawPolyline(Godot.Vector2[],Godot.Color,System.Single,System.Boolean)"]

antialiased (Optional)
Type: SystemBoolean

[Missing <param name="antialiased"/> documentation for "M:Godot.CanvasItem.DrawPolyline(Godot.Vector2[],Godot.Color,System.Single,System.Boolean)"]

See Also