|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meltingice.caman.CamanJ
public class CamanJ
The main CamanJ class that is interacted with.
Constructor Summary | |
---|---|
CamanJ(java.lang.String file)
Creates a new standard CamanJ object |
Method Summary | |
---|---|
CamanFilter |
filter(java.lang.String name)
Loads a filter and returns it so that its parameters (if any) can be set. |
void |
preset(java.lang.String name)
Loads and applies a preset set of filters to the current image. |
void |
render()
Goes through all of the filters (in order) and applies them to the image. |
java.awt.image.BufferedImage |
save()
Saves the modified image to a new BufferedImage object. |
void |
save(java.lang.String outFile)
Saves the modified image to a file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CamanJ(java.lang.String file)
file
- The filename of the image to loadMethod Detail |
---|
public CamanFilter filter(java.lang.String name)
name
- The name of the filter
public void preset(java.lang.String name)
name
- The name of the presetpublic void render()
public java.awt.image.BufferedImage save()
public void save(java.lang.String outFile)
outFile
- The path to the output file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |