Difference between revisions of "(Image):getFilter"

(Hooray parentheses)
 
(update for love 0.6.2)
Line 3: Line 3:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
filterMode, mag = Image:getFilter( )
+
min, mag = Image:getFilter( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|filterMode|0=linear 1=nearest}}
+
{{param|FilterMode|min|Filter mode used when minifying the image.}}
{{param|number|mag|???}}
+
{{param|FilterMode|mag|Filter mode used when magnifying the image.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Image]]
 
* [[parent::Image]]
 +
* [[FilterMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the filter mode for an image.}}
 
{{#set:Description=Gets the filter mode for an image.}}

Revision as of 12:29, 6 March 2010

Gets the filter mode for an image.

Function

Synopsis

min, mag = Image:getFilter( )

Arguments

None.

Returns

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

See Also