com.sygem.visimagik
Class Filter

java.lang.Object
  extended bycom.sygem.visimagik.Filter
Direct Known Subclasses:
FilterEmboss, FilterFader, FilterGlass, FilterGpen, FilterGreyscale, FilterMask, FilterMotion, FilterNegative, FilterPastel, FilterPlasma, FilterThermo, FilterTint

public class Filter
extends java.lang.Object

A super-class for all other filters.

Version:
3.0a
See Also:
Visimagik

Constructor Summary
Filter()
          Default constructor.
 
Method Summary
 void removeMask()
          Force Visimagik to not use a mask any more for this filter.
 void setMask(int[] mask, int w, int h)
          Loads a mask image for use with this filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()
Default constructor.

Method Detail

removeMask

public void removeMask()
Force Visimagik to not use a mask any more for this filter.


setMask

public void setMask(int[] mask,
                    int w,
                    int h)
Loads a mask image for use with this filter. The mask will be scaled to fit the Jazz3D canvas.

Parameters:
mask - An array of integers representing the mask itself
w - The width of the image
h - The height of the image
See Also:
Texture


Copyright © 1999-2006 SyGem Software. All Rights Reserved.