Difference between revisions of "love.graphics.setLine"
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{oldin|[[0.9.0]]|090|type=function|text=Use [[love.graphics.setLineWidth]] and [[love.graphics.setLineStyle]]}} | ||
Sets the line width and style. | Sets the line width and style. | ||
== Function == | == Function == | ||
Line 10: | Line 11: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
+ | == Example == | ||
+ | <source lang="lua"> | ||
+ | love.graphics.setLine(2, "smooth") | ||
+ | love.graphics.line(15, 25, 69, 89) | ||
+ | </source> | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
Line 17: | Line 23: | ||
{{#set:Description=Sets the line width and style.}} | {{#set:Description=Sets the line width and style.}} | ||
{{#set:Since=000}} | {{#set:Since=000}} | ||
+ | {{#set:Sub-Category=State}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.setLine}} | {{i18n|love.graphics.setLine}} |
Latest revision as of 02:33, 17 June 2013
Removed in LÖVE 0.9.0 |
Use love.graphics.setLineWidth and love.graphics.setLineStyle. |
Sets the line width and style.
Function
Synopsis
love.graphics.setLine( width, style )
Arguments
Returns
Nothing.
Example
love.graphics.setLine(2, "smooth")
love.graphics.line(15, 25, 69, 89)
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