Difference between revisions of "love.graphics.setLine"

m
Line 22: Line 22:
 
{{#set:Description=Sets the line width and style.}}
 
{{#set:Description=Sets the line width and style.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 +
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.setLine}}
 
{{i18n|love.graphics.setLine}}

Revision as of 01:00, 29 March 2013

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