cz.cuni.jagrlib.piece
Enum EffectBlur.BlurType

java.lang.Object
  extended by java.lang.Enum<EffectBlur.BlurType>
      extended by cz.cuni.jagrlib.piece.EffectBlur.BlurType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EffectBlur.BlurType>
Enclosing class:
EffectBlur

protected static enum EffectBlur.BlurType
extends java.lang.Enum<EffectBlur.BlurType>

Implemented blur types.


Enum Constant Summary
BLUR_CONSTANT
          Linear constant blur (motion blur).
BLUR_LINEAR
          Linear blur (distance from the given line).
BLUR_PERPENDICULAR
          Linear perpendicular blur (distance from the given line).
BLUR_RADIAL
          Radial blur.
BLUR_TANGENTIAL
          Tangential blur.
 
Method Summary
static EffectBlur.BlurType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EffectBlur.BlurType[] 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

BLUR_RADIAL

public static final EffectBlur.BlurType BLUR_RADIAL
Radial blur.


BLUR_TANGENTIAL

public static final EffectBlur.BlurType BLUR_TANGENTIAL
Tangential blur.


BLUR_LINEAR

public static final EffectBlur.BlurType BLUR_LINEAR
Linear blur (distance from the given line).


BLUR_PERPENDICULAR

public static final EffectBlur.BlurType BLUR_PERPENDICULAR
Linear perpendicular blur (distance from the given line).


BLUR_CONSTANT

public static final EffectBlur.BlurType BLUR_CONSTANT
Linear constant blur (motion blur).

Method Detail

values

public static EffectBlur.BlurType[] 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 (EffectBlur.BlurType c : EffectBlur.BlurType.values())
    System.out.println(c);

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

valueOf

public static EffectBlur.BlurType 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