Difference between revisions of "love.graphics.setLine"

m
m (Removed in 0.9.0)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function}}
 
Sets the line width and style.
 
Sets the line width and style.
 
== Function ==
 
== Function ==

Revision as of 00:35, 16 June 2013

Removed in LÖVE 0.9.0
This function is not supported in that and later versions.

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