Skip to main content

FlixelAntialiasable

View source

interface

org.flixelgdx.functional.FlixelAntialiasable

public interface FlixelAntialiasable

Something that can apply antialiasing on itself.

See Also: FlixelSprite

Methods

isAntialiasing()

public boolean isAntialiasing()

Returns: Whether antialiasing is currently applied on this object.


setAntialiasing(boolean)

public void setAntialiasing(boolean antialiasing)

Applies antialiasing to this object.

Parameters:

NameDescription
antialiasingWhether antialiasing should be applied.

toggleAntialiasing()

public void toggleAntialiasing()

Flips antialiasing on and off, depending on the current value.