Difference between revisions of "Canvas:getFilter"

m (Add links.)
m (Remove parent)
 
Line 24: Line 24:
 
{{param|number|anisotropy|Maximum amount of anisotropic filtering used.}}
 
{{param|number|anisotropy|Maximum amount of anisotropic filtering used.}}
 
== See Also ==
 
== See Also ==
* [[parent::Canvas]]
+
* [[Canvas]]
 
* [[Canvas:setFilter]]
 
* [[Canvas:setFilter]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 00:17, 20 July 2017

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Gets the filter mode of the Canvas.

Function

Synopsis

min, mag = Canvas:getFilter( )

Arguments

None.

Returns

FilterMode min
Filter mode used when minifying the canvas.
FilterMode mag
Filter mode used when magnifying the canvas.

Function

Available since LÖVE 0.9.0
This variant is not supported in earlier versions.

Synopsis

min, mag, anisotropy = Canvas:getFilter( )

Arguments

None.

Returns

FilterMode min
Filter mode used when minifying the canvas.
FilterMode mag
Filter mode used when magnifying the canvas.
number anisotropy
Maximum amount of anisotropic filtering used.

See Also

Other Languages