# 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

- love.graphics
- love.graphics.setLineWidth
- love.graphics.setLineStyle

##

Category:

- Functions