Difference between revisions of "love.graphics.setPointStyle"
m |
m (Fix links.) |
||
Line 1: | Line 1: | ||
− | Sets the [[love.graphics. | + | Sets the [[love.graphics.point|point]] style. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 10: | Line 10: | ||
Nothing. | Nothing. | ||
== Examples == | == Examples == | ||
− | Toggle between [[ | + | Toggle between [[PointStyle|point styles]] with the help of [[love.graphics.getPointStyle]]. |
<source lang="lua"> | <source lang="lua"> | ||
if love.graphics.getPointStyle() == "rough" then | if love.graphics.getPointStyle() == "rough" then | ||
Line 21: | Line 21: | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
* [[love.graphics.point]] | * [[love.graphics.point]] | ||
− | |||
* [[love.graphics.setPointSize]] | * [[love.graphics.setPointSize]] | ||
* [[love.graphics.getPointStyle]] | * [[love.graphics.getPointStyle]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Sets the point style.}} | + | {{#set:Description=Sets the [[love.graphics.point|point]] style.}} |
{{#set:Since=000}} | {{#set:Since=000}} | ||
{{#set:Sub-Category=State}} | {{#set:Sub-Category=State}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.setPointStyle}} | {{i18n|love.graphics.setPointStyle}} |
Revision as of 12:42, 5 November 2014
Sets the point style.
Function
Synopsis
love.graphics.setPointStyle( style )
Arguments
PointStyle style
- The new point style.
Returns
Nothing.
Examples
Toggle between point styles with the help of love.graphics.getPointStyle.
if love.graphics.getPointStyle() == "rough" then
love.graphics.setPointStyle("smooth")
else
love.graphics.setPointStyle("rough")
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