lovr.graphics.setLineWidth
Sets the width of lines rendered using lovr.graphics.line
.
lovr.graphics.setLineWidth(width)
Arguments
Name | Type | Default | Description |
width | number | 1 | The new line width, in pixels. |
Returns
Nothing
Notes
The default line width is 1
.
GPU 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
.
Currently this function only supports integer values from 1 to 255.
See also
lovr.graphics.line
lovr.graphics.getLineWidth
lovr.graphics