picture.filter
Class Reflection

java.lang.Object
  |
  +--picture.DefaultTransformation
        |
        +--picture.filter.Reflection
All Implemented Interfaces:
ProgressViewableTransformation, java.io.Serializable, Transformation

public class Reflection
extends DefaultTransformation

Repraesentiert eine horizontale oder vertikale Spiegelung

See Also:
Serialized Form

Field Summary
static int HORIZONTAL
           
static int VERTICAL
           
 
Constructor Summary
Reflection()
          Erzeugt ein horizontale Spiegelung
Reflection(int mode)
          Erzeugt eine Spiegelung.
 
Method Summary
 int getNumberOfProgressSteps(Picture p)
          Bestimmt die Anzahl der Schritte, die bei den aktuellen Einstellungen auf den ProgressHandler von p ausgeführt werden, wenn diese Transformation auf p ausgeführt wird.
 Layer of(ProgressHandler ph, Layer p)
          Fuehrt die Transformation auf einer Bildebene aus.
 
Methods inherited from class picture.DefaultTransformation
createNewInstance, filterOptionPane, getDistance, getPreferredFileName, isPowerOfTwo, loadFrom, of, saveTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HORIZONTAL

public static final int HORIZONTAL

VERTICAL

public static final int VERTICAL
Constructor Detail

Reflection

public Reflection()
Erzeugt ein horizontale Spiegelung

Reflection

public Reflection(int mode)
Erzeugt eine Spiegelung.
Parameters:
mode: - HORIZONTAL oder VERTICAL
Method Detail

getNumberOfProgressSteps

public int getNumberOfProgressSteps(Picture p)
Description copied from interface: ProgressViewableTransformation
Bestimmt die Anzahl der Schritte, die bei den aktuellen Einstellungen auf den ProgressHandler von p ausgeführt werden, wenn diese Transformation auf p ausgeführt wird.
Following copied from interface: picture.ProgressViewableTransformation
Returns:
Anzahl der Schritte

of

public Layer of(ProgressHandler ph,
                Layer p)
Description copied from class: DefaultTransformation
Fuehrt die Transformation auf einer Bildebene aus.
Overrides:
of in class DefaultTransformation