leon.view.filters
Class LyDisableImageFilter
java.lang.Object
leon.view.filters.LyImageFilter
leon.view.filters.LyDisableImageFilter
public class LyDisableImageFilter
- extends LyImageFilter
This class is used to create disabled images. The algorithm uses the background color every two
pixels in the created image.
Field Summary |
static java.lang.String |
__VERSION
|
static java.lang.String |
DISABLE_FILTER_NAME
Name of the filter used for keys in table of images. |
Method Summary |
static java.awt.Image |
getFilteredImage(java.awt.Image image)
Gets the filtered image associated to the given image and background color. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
DISABLE_FILTER_NAME
public static java.lang.String DISABLE_FILTER_NAME
- Name of the filter used for keys in table of images.
LyDisableImageFilter
public LyDisableImageFilter()
- Constructor with no parameter. Calls the super implementation.
getFilteredImage
public static java.awt.Image getFilteredImage(java.awt.Image image)
- Gets the filtered image associated to the given image and background color. It it is not
found, creates it.
- Parameters:
image
- The image that must be filtered.
- Returns:
- The filtered image.
Website: W4 S.A., contact us: support@w4global.com