W3cubDocs

/LÖVE

love.graphics.setLine

Removed in LÖVE 0.9.0
Use love.graphics.setLineWidth and love.graphics.setLineStyle.

Sets the line width and style.

Function

Synopsis

love.graphics.setLine( width, style )

Arguments

number width
The width of the line.
LineStyle style ("smooth")
The LineStyle to use.

Returns

Nothing.

Example

love.graphics.setLine(2, "smooth")
love.graphics.line(15, 25, 69, 89)

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setLine