com.sygem.visimagik
Class FilterFader
java.lang.Object
|
+--com.sygem.visimagik.Filter
|
+--com.sygem.visimagik.FilterFader
- public class FilterFader
- extends Filter
Fades between one image and another.
- Version:
- 3.0a
- Author:
- SyGem Software
- See Also:
Filter
Constructor Summary |
FilterFader(int[] image_array,
int w,
int h,
int mode)
Constructor. |
Method Summary |
void |
execute(int[] graphics_array)
Perform the image processing. |
static void |
setFadeValue(int amount)
Set the amount to fade in the new image. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRETCHED
public static final int STRETCHED
TILED
public static final int TILED
FilterFader
public FilterFader(int[] image_array,
int w,
int h,
int mode)
- Constructor. This is where the image we want to fade between is passed to the filter.
- Parameters:
image_array
- The image to be faded tow
- The width of the imageh
- The height of the imagemode
- One of the 2 fields specified above- See Also:
Texture
setFadeValue
public static void setFadeValue(int amount)
- Set the amount to fade in the new image. The higher the value, the less of the original image can be seen.
- Parameters:
amount
- The amount of fade to apply.
execute
public void execute(int[] graphics_array)
- Perform the image processing.
- Parameters:
graphics_array
- The array to perform the processing on- See Also:
Visimagik