Difference between revisions of "LineJoin"

(Created page with "Line join style. == Constants == ;miter: ;bevel: ;none: == See Also == * parent::love.graphics * love.graphics.setLineJoin Category:Enums {{#set:Description=Line join...")
 
m (Added some explanations to the line join styles; swapped the last two ones so the order matches the picture.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Line join style.
 
Line join style.
 +
 +
[[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]]
Line 11: Line 13:
 
{{#set:Since=090}}
 
{{#set:Since=090}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|AlignMode}}
+
{{i18n|LineJoin}}

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