Difference between revisions of "love.graphics.setLineStyle"

m (Newin template)
Line 10: Line 10:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
== Examples ==
 +
<source lang="lua">
 +
love.graphics.setLineStyle("smooth")
 +
</source>
 +
<source lang="lua">
 +
love.graphics.setLineStyle("rough")
 +
</source>
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 16:19, 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.

Examples

love.graphics.setLineStyle("smooth")
love.graphics.setLineStyle("rough")

See Also


Other Languages