{{oldin|[[0.10.0]]|100|type=function}}

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 ==
=== Synopsis ===
<source lang="lua">
love.graphics.setPointStyle( style )
</source>
=== Arguments ===
{{param|PointStyle|style|The new point style.}}
=== Returns ===
Nothing.
== Examples ==
Toggle between [[PointStyle|point styles]] with the help of [[love.graphics.getPointStyle]].
<source lang="lua">
if love.graphics.getPointStyle() == "rough" then
   love.graphics.setPointStyle("smooth")
else
   love.graphics.setPointStyle("rough")
end
</source>
== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.point]]
* [[love.graphics.setPointSize]]
* [[love.graphics.getPointStyle]]
[[Category:Functions]]
{{#set:Description=Sets the [[love.graphics.point|point]] style.}}
{{#set:Since=000}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.setPointStyle}}