Difference between revisions of "LineJoin"

m (Added some explanations to the line join styles; swapped the last two ones so the order matches the picture.)
 
Line 3: Line 3:
 
[[File:Linejoin.png]]
 
[[File:Linejoin.png]]
 
== Constants ==
 
== Constants ==
;miter:
+
;miter: The ends of the line segments beveled in an angle so that they join seamlessly.
;bevel:
+
;none: No cap applied to the ends of the line segments.
;none:
+
;bevel: Flattens the point where line segments join together.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Latest revision as of 22:31, 23 November 2016

Line join style.

Linejoin.png

Constants

miter
The ends of the line segments beveled in an angle so that they join seamlessly.
none
No cap applied to the ends of the line segments.
bevel
Flattens the point where line segments join together.

See Also


Other Languages