Shader.draw_lines

Shader.draw_lines(elements=None, n=0, width=1, background=False)[source]

Draw lines.

Parameters:
elementsAny, optional

The buffer elements.

nint, optional

The number of elements.

widthfloat, optional

The width of the lines.

backgroundbool, optional

Draw in background.