|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.filters.LyImageFilter
leon.view.filters.LyGrayImageFilter
public class LyGrayImageFilter
This class is used to create grayed images. The proportion of gray may be customized.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static java.lang.String |
GRAY_FILTER_NAME
Name of the filter used for keys in table of images. |
static int |
GRAY_PROP
Default gray proportion. |
Constructor Summary | |
---|---|
LyGrayImageFilter()
Constructor with no parameter. |
Method Summary | |
---|---|
static java.awt.Image |
getFilteredImage(java.awt.Image image)
Gets a filtered image with the default gray proportion. |
static java.awt.Image |
getFilteredImage(java.awt.Image image,
int grayProp)
Gets the filtered image associated to the given image and background color. |
Methods inherited from class leon.view.filters.LyImageFilter |
---|
clearCache, putCache |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static java.lang.String GRAY_FILTER_NAME
public static final int GRAY_PROP
Constructor Detail |
---|
public LyGrayImageFilter()
Method Detail |
---|
public static java.awt.Image getFilteredImage(java.awt.Image image)
getFilteredImage(image, GRAY_PROP)
.
image
- The image that must be filtered.
public static java.awt.Image getFilteredImage(java.awt.Image image, int grayProp)
image
- The image that must be filtered.grayProp
- The proportion of gray that must be used by the filter.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |