Difference between revisions of "love.graphics.setLine"

m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function|text=Use [[love.graphics.setLineWidth]] and [[love.graphics.setLineStyle]]}}
 
Sets the line width and style.
 
Sets the line width and style.
 
== Function ==
 
== Function ==

Latest revision as of 02:33, 17 June 2013

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


Other Languages