Difference between revisions of "Font:getFilter"
(Created page with "{{newin|0.9.0|090|type=function}} Gets the filter mode for an image. == Function == === Synopsis === <source lang="lua"> min, mag = Font:getFilter( ) </source> === Arguments ...") |
(→See Also: Added setFilter.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function}} | {{newin|[[0.9.0]]|090|type=function}} | ||
− | Gets the filter mode for | + | Gets the filter mode for a font. |
+ | |||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | min, mag = Font:getFilter( ) | + | min, mag, anisotropy = Font:getFilter( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
Line 11: | Line 12: | ||
{{param|FilterMode|min|Filter mode used when minifying the font.}} | {{param|FilterMode|min|Filter mode used when minifying the font.}} | ||
{{param|FilterMode|mag|Filter mode used when magnifying the font.}} | {{param|FilterMode|mag|Filter mode used when magnifying the font.}} | ||
+ | {{param|number|anisotropy|Maximum amount of anisotropic filtering used.}} | ||
+ | |||
== See Also == | == See Also == | ||
* [[parent::Font]] | * [[parent::Font]] | ||
+ | * [[Font:setFilter]] | ||
* [[FilterMode]] | * [[FilterMode]] | ||
− | + | ||
− | |||
== Other Languages == | == Other Languages == | ||
{{i18n|Font:getFilter}} | {{i18n|Font:getFilter}} | ||
+ | |||
+ | [[Category:Functions]] | ||
+ | {{#set:Description=Gets the filter mode for a font.}} |
Latest revision as of 05:56, 31 August 2022
Available since LÖVE 0.9.0 |
This function is not supported in earlier versions. |
Gets the filter mode for a font.
Function
Synopsis
min, mag, anisotropy = Font:getFilter( )
Arguments
None.
Returns
FilterMode min
- Filter mode used when minifying the font.
FilterMode mag
- Filter mode used when magnifying the font.
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