Difference between revisions of "love.graphics.getPointStyle"

m (Fix links.)
(Added oldin)
 
Line 1: Line 1:
 +
{{oldin|[[0.10.0]]|100|type=function}}
 +
 
Gets the current [[love.graphics.point|point]] style.
 
Gets the current [[love.graphics.point|point]] style.
 
== Function ==
 
== Function ==

Latest revision as of 02:57, 17 December 2015

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


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