Package com.jhlabs.image
Class TextureFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.TextureFilter
- All Implemented Interfaces:
BufferedImageOp
,Serializable
,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
float
float
int
float
Fields inherited from class com.jhlabs.image.PointFilter
canFilterIndexColorModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
filterRGB
(int x, int y, int rgb) float
float
getAngle()
int
float
getScale()
float
float
void
setAmount
(float amount) void
setAngle
(float angle) void
setColormap
(Colormap colormap) void
setFunction
(Function2D function) void
setOperation
(int operation) void
setScale
(float scale) void
setStretch
(float stretch) void
setTurbulence
(float turbulence) 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
-
Field Details
-
amount
public float amount -
turbulence
public float turbulence -
gain
public float gain -
bias
public float bias -
operation
public int operation
-
-
Constructor Details
-
TextureFilter
public TextureFilter()
-
-
Method Details
-
setAmount
public void setAmount(float amount) -
getAmount
public float getAmount() -
setFunction
-
getFunction
-
setOperation
public void setOperation(int operation) -
getOperation
public int getOperation() -
setScale
public void setScale(float scale) -
getScale
public float getScale() -
setStretch
public void setStretch(float stretch) -
getStretch
public float getStretch() -
setAngle
public void setAngle(float angle) -
getAngle
public float getAngle() -
setTurbulence
public void setTurbulence(float turbulence) -
getTurbulence
public float getTurbulence() -
setColormap
-
getColormap
-
filterRGB
public int filterRGB(int x, int y, int rgb) - Specified by:
filterRGB
in classPointFilter
-
toString
-