love.graphics.setLine

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


doc_love
2017-03-21 15:48:16
Comments
Leave a Comment

Please login to continue.