Difference between revisions of "love.graphics.setLineJoin"

(Returns)
(Undo revision 27186 by Darkfrei (talk). The added example explains exactly what LineJoin already explains.)
(Tag: Undo)
Line 9: Line 9:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 
=== Examples ===
 
The ends of the line segments beveled in an angle so that they join seamlessly.
 
<source lang="lua">
 
love.graphics.setLineJoin( 'miter')
 
</source>
 
 
No cap applied to the ends of the line segments.
 
<source lang="lua">
 
love.graphics.setLineJoin( 'none')
 
</source>
 
 
Flattens the point where line segments join together.
 
<source lang="lua">
 
love.graphics.setLineJoin( 'bevel')
 
</source>
 
 
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 18:21, 19 October 2021

Sets the line join style. See LineJoin for the possible options.

Function

Synopsis

love.graphics.setLineJoin( join )

Arguments

LineJoin join
The LineJoin to use.

Returns

Nothing.

See Also


Other Languages