love.graphics.setLineJoin
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
Showcase the styles
function love.draw()
local line = {0,0, 100,20, 40,40, 50,80}
love.graphics.setLineWidth(15)
love.graphics.setColor(1, 1, 1, .7)
love.graphics.translate(300, 100)
love.graphics.setLineJoin("miter")
love.graphics.line(line)
love.graphics.translate(0, 150)
love.graphics.setLineJoin("none")
love.graphics.line(line)
love.graphics.translate(0, 150)
love.graphics.setLineJoin("bevel")
love.graphics.line(line)
end
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