lovr.graphics.setLineWidth

Sets the width of lines rendered using lovr.graphics.line.

lovr.graphics.setLineWidth(width)

Arguments

NameTypeDescription
widthnumberThe new line width, in pixels.

Returns

Nothing

Notes

The default line width is 1.0.

Driver support for line widths is poor. The actual width of lines may be different from what is set here. In particular, some graphics drivers only support a line width of 1.0.

See also