|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.TextureFilter
public class TextureFilter
| Field Summary | |
|---|---|
float |
amount
|
float |
bias
|
float |
gain
|
int |
operation
|
float |
turbulence
|
| Fields inherited from class com.jhlabs.image.PointFilter |
|---|
canFilterIndexColorModel |
| Constructor Summary | |
|---|---|
TextureFilter()
|
|
| Method Summary | |
|---|---|
int |
filterRGB(int x,
int y,
int rgb)
|
float |
getAmount()
Get the amount of texture. |
float |
getAngle()
Returns the angle of the texture. |
Colormap |
getColormap()
Get the colormap to be used for the filter. |
Function2D |
getFunction()
|
int |
getOperation()
|
float |
getScale()
Returns the scale of the texture. |
float |
getStretch()
Returns the stretch factor of the texture. |
float |
getTurbulence()
Returns the turbulence of the texture. |
void |
setAmount(float amount)
Set the amount of texture. |
void |
setAngle(float angle)
Specifies the angle of the texture. |
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter. |
void |
setFunction(Function2D function)
|
void |
setOperation(int operation)
|
void |
setScale(float scale)
Specifies the scale of the texture. |
void |
setStretch(float stretch)
Specifies the stretch factor of the texture. |
void |
setTurbulence(float turbulence)
Specifies the turbulence of the texture. |
String |
toString()
|
| Methods inherited from class com.jhlabs.image.PointFilter |
|---|
filter, setDimensions |
| Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
|---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public float amount
public float turbulence
public float gain
public float bias
public int operation
| Constructor Detail |
|---|
public TextureFilter()
| Method Detail |
|---|
public void setAmount(float amount)
amount - the amountgetAmount()public float getAmount()
setAmount(float)public void setFunction(Function2D function)
public Function2D getFunction()
public void setOperation(int operation)
public int getOperation()
public void setScale(float scale)
scale - the scale of the texture.getScale()public float getScale()
setScale(float)public void setStretch(float stretch)
stretch - the stretch factor of the texture.getStretch()public float getStretch()
setStretch(float)public void setAngle(float angle)
angle - the angle of the texture.getAngle()public float getAngle()
setAngle(float)public void setTurbulence(float turbulence)
turbulence - the turbulence of the texture.getTurbulence()public float getTurbulence()
setTurbulence(float)public void setColormap(Colormap colormap)
colormap - the colormapgetColormap()public Colormap getColormap()
setColormap(com.jhlabs.image.Colormap)
public int filterRGB(int x,
int y,
int rgb)
filterRGB in class PointFilterpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||