Difference between revisions of "love.graphics.setPointStyle"
m (Fix links.) |
(Add warning about smooth point style.) |
||
Line 1: | Line 1: | ||
Sets the [[love.graphics.point|point]] style. | Sets the [[love.graphics.point|point]] style. | ||
+ | |||
+ | {{notice|Smooth points are notoriously buggy on a lot of graphics drivers. Use "rough" [[PointStyle|point style]] for increased consistency between different drivers.}} | ||
+ | |||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Revision as of 12:56, 5 November 2014
Sets the point style.
Smooth points are notoriously buggy on a lot of graphics drivers. Use "rough" point style for increased consistency between different drivers. |
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