GF4J 0.9.4 Beta

gameframe.graphics
Class FlipEffect

java.lang.Object
  |
  +--gameframe.graphics.BitmapEffect
        |
        +--gameframe.graphics.FlipEffect

public class FlipEffect
extends BitmapEffect

Defines a flip effect that flips the image (mirrors it around a centered horizontal line).

Since:
GameFrame for Java 0.9.3
Version:
GameFrame for Java 0.9.4

Constructor Summary
FlipEffect()
           
 
Method Summary
 BitmapData processData(BitmapData data)
          Flips (mirrors around a horizontal line) the image.
 void reset()
          Does nothing in this effect.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FlipEffect

public FlipEffect()
Method Detail

reset

public void reset()
Does nothing in this effect.
Overrides:
reset in class BitmapEffect
Since:
GameFrame for Java 0.9.3

processData

public BitmapData processData(BitmapData data)
Flips (mirrors around a horizontal line) the image.
Overrides:
processData in class BitmapEffect
Parameters:
data - The raw bitmap data that is to be processed.
Returns:
The processed data.

GF4J 0.9.4 Beta