love.graphics.getPointStyle

Gets the current point style.

Function

Synopsis

style = love.graphics.getPointStyle( )

Arguments

None.

Returns

PointStyle style
The current point style.

Examples

Toggle between point styles with the help of love.graphics.setPointStyle.

if love.graphics.getPointStyle() == "rough" then
   love.graphics.setPointStyle("smooth")
else
   love.graphics.setPointStyle("rough")
end

See Also


Other Languages