Click or drag to resize

CanvasItemDrawMultilineColors Method

Draws multiple, parallel lines with a uniform width and segment-by-segment coloring. Colors assigned to line segments match by index between points and colors.

Note: width and antialiased are currently not implemented and have no effect.

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

Parameters

points
Type: GodotVector2

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

colors
Type: GodotColor

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

width (Optional)
Type: SystemSingle

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

antialiased (Optional)
Type: SystemBoolean

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

See Also