com.b3dgs.lionengine.core
Enum Filter

java.lang.Object
  extended by java.lang.Enum<Filter>
      extended by com.b3dgs.lionengine.core.Filter
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Filter>

public enum Filter
extends java.lang.Enum<Filter>

List of supported filters. Note: HQ3X has to scale the height reference by 3. (if ref is 320*240, final size has to be 960*720 or 1280*720).


Enum Constant Summary
BILINEAR
          Bilinear filtering, bluring pixels.
HQ3X
          hq3x filtering, giving a special result as a painted image (may be slow !).
NONE
          No filter.
 
Method Summary
static Filter valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Filter[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final Filter NONE
No filter.


BILINEAR

public static final Filter BILINEAR
Bilinear filtering, bluring pixels.


HQ3X

public static final Filter HQ3X
hq3x filtering, giving a special result as a painted image (may be slow !).

Method Detail

values

public static Filter[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Filter c : Filter.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Filter valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null