Difference between revisions of "love.graphics.reset"

(Updated for 0.9.x)
m (Add love.graphics.origin to See Also)
Line 17: Line 17:
 
* [[love.graphics.setLineStyle]]
 
* [[love.graphics.setLineStyle]]
 
* [[love.graphics.setPointStyle]]
 
* [[love.graphics.setPointStyle]]
 +
* [[love.graphics.origin]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Resets the current graphics settings.}}
 
{{#set:Description=Resets the current graphics settings.}}

Revision as of 23:09, 18 January 2016

Resets the current graphics settings.

Calling reset makes the current drawing color white, the current background color black, disables any active Canvas or Shader, and removes any scissor settings. It sets the BlendMode to alpha, enables all color component masks, disables wireframe mode and resets the current graphics transformation to the origin. It also sets both the point and line drawing modes to smooth and their sizes to 1.0.

Function

Synopsis

love.graphics.reset( )

Arguments

None

Returns

Nothing

See Also


Other Languages