Difference between revisions of "Canvas:getFilter"
(Added anisotropy return value) |
m (Add links.) |
||
Line 1: | Line 1: | ||
{{newin|[[0.8.0]]|080|type=function}} | {{newin|[[0.8.0]]|080|type=function}} | ||
− | Gets the filter mode of the Canvas. | + | Gets the [[FilterMode|filter mode]] of the [[Canvas]]. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 25: | Line 25: | ||
== See Also == | == See Also == | ||
* [[parent::Canvas]] | * [[parent::Canvas]] | ||
− | * [[ | + | * [[Canvas:setFilter]] |
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=Gets the filter mode of the Canvas.}} | + | {{#set:Description=Gets the [[FilterMode|filter mode]] of the [[Canvas]].}} |
== Other Languages == | == Other Languages == | ||
{{i18n|Canvas:getFilter}} | {{i18n|Canvas:getFilter}} |
Revision as of 09:09, 28 January 2015
Available since LÖVE 0.8.0 |
This function is not supported in earlier versions. |
Gets the filter mode of the Canvas.
Contents
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info