{{newin|[[0.8.0]]|080|type=function}}
Gets the [[FilterMode|filter mode]] of the [[Canvas]].
== Function ==
=== Synopsis ===
<source lang="lua">
min, mag = Canvas:getFilter( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|FilterMode|min|Filter mode used when minifying the canvas.}}
{{param|FilterMode|mag|Filter mode used when magnifying the canvas.}}
== Function ==
{{newin|[[0.9.0]]|090|type=variant}}
=== Synopsis ===
<source lang="lua">
min, mag, anisotropy = Canvas:getFilter( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|FilterMode|min|Filter mode used when minifying the canvas.}}
{{param|FilterMode|mag|Filter mode used when magnifying the canvas.}}
{{param|number|anisotropy|Maximum amount of anisotropic filtering used.}}
== See Also ==
* [[Canvas]]
* [[Canvas:setFilter]]
[[Category:Functions]]
{{#set:Description=Gets the [[FilterMode|filter mode]] of the [[Canvas]].}}
== Other Languages ==
{{i18n|Canvas:getFilter}}