|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ui.RgbFilter
de.enough.polish.ui.rgbfilters.GrayscaleRgbFilter
public class GrayscaleRgbFilter
Transforms the color of a specified RGB image.
Copyright Enough Software 2008
| Field Summary | |
|---|---|
protected Dimension |
grayscale
|
protected RgbImage |
output
|
| Constructor Summary | |
|---|---|
GrayscaleRgbFilter()
Creates a new grayscale filter |
|
| Method Summary | |
|---|---|
boolean |
isActive()
Determines whether this filter is active. |
RgbImage |
process(RgbImage input)
Processes the given RGB input |
void |
releaseResources()
Releases all memory intensive resources |
void |
setStyle(Style style,
boolean resetStyle)
Configures this filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Dimension grayscale
protected transient RgbImage output
| Constructor Detail |
|---|
public GrayscaleRgbFilter()
| Method Detail |
|---|
public boolean isActive()
RgbFilter
isActive in class RgbFilterpublic RgbImage process(RgbImage input)
RgbFilter
process in class RgbFilterinput - the RgbImage input
public void setStyle(Style style,
boolean resetStyle)
RgbFilter
setStyle in class RgbFilterstyle - the styleresetStyle - true when default values should be assumed, may be ignored by subclassespublic void releaseResources()
RgbFilter
releaseResources in class RgbFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||