love.graphics.setPointStyle

Removed in LÖVE 0.10.0
This function is not supported in that and later versions.


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


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.setPointStyle