Difference between revisions of "love.graphics.setLineJoin"
(link to LineJoin constants) |
(→Returns) |
||
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 20:53, 17 October 2021
Sets the line join style. See LineJoin for the possible options.
Contents
Function
Synopsis
love.graphics.setLineJoin( join )
Arguments
LineJoin join
- The LineJoin to use.
Returns
Nothing.
Examples
The ends of the line segments beveled in an angle so that they join seamlessly.
love.graphics.setLineJoin( 'miter')
No cap applied to the ends of the line segments.
love.graphics.setLineJoin( 'none')
Flattens the point where line segments join together.
love.graphics.setLineJoin( 'bevel')
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info