{{oldin|[[0.9.0]]|090|type=function|text=Use [[love.graphics.setLineWidth]] and [[love.graphics.setLineStyle]]}}
Sets the line width and style.
== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.setLine( width, style )
</source>
=== Arguments ===
{{param|number|width|The width of the line.}}
{{param|LineStyle|style ("smooth")|The LineStyle to use.}}
=== Returns ===
Nothing.
== Example ==
<source lang="lua">
love.graphics.setLine(2, "smooth")
love.graphics.line(15, 25, 69, 89)
</source>
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.setLineWidth]]
* [[love.graphics.setLineStyle]]
[[Category:Functions]]
{{#set:Description=Sets the line width and style.}}
{{#set:Since=000}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.setLine}}