Difference between revisions of "love.graphics.setLineStyle"

(Undo revision 27207 by Darkfrei (talk) The example doesn't add anything. Surely the reader knows how to call a function with a string argument.)
(Tag: Undo)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{newin|[[0.3.2]]|032|type=function}}
 
Sets the line style.
 
Sets the line style.
 
== Function ==
 
== Function ==
Line 6: Line 7:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|LineStyle|style|The LineStyle to use. Line styles include "smooth" and "rough"}}
+
{{param|LineStyle|style|The LineStyle to use. Line styles include <code>smooth</code> and <code>rough</code>.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
* [[love.graphics.setLine]]
+
* [[love.graphics.getLineStyle]]
 +
* [[love.graphics.setLineWidth]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the line style.}}
 
{{#set:Description=Sets the line style.}}
{{#set:Since=000}}
 
 
{{#set:Sub-Category=State}}
 
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|love.graphics.setLineWidth}}
+
{{i18n|love.graphics.setLineStyle}}

Latest revision as of 18:46, 11 November 2021

Available since LÖVE 0.3.2
This function is not supported in earlier versions.

Sets the line style.

Function

Synopsis

love.graphics.setLineStyle( style )

Arguments

LineStyle style
The LineStyle to use. Line styles include smooth and rough.

Returns

Nothing.

See Also


Other Languages