Difference between revisions of "love.graphics.setPoint"
(Add an example) |
|||
Line 10: | Line 10: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
+ | == Examples == | ||
+ | Increase the point size by 1 and set it to smooth. | ||
+ | <source lang="lua"> | ||
+ | local s = love.graphics.getPointSize() + 1 | ||
+ | love.graphics.setPoint(s, "smooth") | ||
+ | </source> | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 17:37, 27 September 2011
Sets the point size and style.
Function
Synopsis
love.graphics.setPoint( size, style )
Arguments
number size
- The new point size.
PointStyle style
- The new point style.
Returns
Nothing.
Examples
Increase the point size by 1 and set it to smooth.
local s = love.graphics.getPointSize() + 1
love.graphics.setPoint(s, "smooth")
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