Difference between revisions of "(Image):setFilter"

(Created page with 'Sets the filter mode for an image. 0 = linear interpolation, 1 = nearest neighbor interpolation. == Function == === Synopsis === <source lang="lua"> Image:setFilter( min, mag ) <…')
 
m
Line 13: Line 13:
 
* [[parent::Image]]
 
* [[parent::Image]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Sets the filter mode for an image. 0 = linear interpolation, 1 = nearest neighbor interpolation.}}
+
{{#set:Description=Sets the filter mode for an image.}}

Revision as of 21:34, 28 February 2010

Sets the filter mode for an image. 0 = linear interpolation, 1 = nearest neighbor interpolation.

Function

Synopsis

Image:setFilter( min, mag )

Arguments

number min
How to scale an image down.
number mag
How to scale an image up.

Returns

Nothing.

See Also