Difference between revisions of "love.graphics.setLine"

Line 10: Line 10:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
== Example ==
 +
<source lang="lua">
 +
love.graphics.setLine(2, "smooth")
 +
</source>
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 19:35, 31 May 2012

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")

See Also


Other Languages