Font:setFilter

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Sets the filter mode for a font.

Function

Synopsis

Font:setFilter( min, mag, anisotropy )

Arguments

FilterMode min
How to scale a font down.
FilterMode mag
How to scale a font up.
number anisotropy (1)
Maximum amount of anisotropic filtering used.

Returns

Nothing.

Example

Font:setFilter("linear", "nearest")

See Also

Other Languages