public interface TurbulenceRable extends FilterColorInterpolation
Modifier and Type | Method and Description |
---|---|
double |
getBaseFrequencyX()
Gets the current base fequency in x direction.
|
double |
getBaseFrequencyY()
Gets the current base fequency in y direction.
|
int |
getNumOctaves()
Gets the current number of octaves for the noise function .
|
int |
getSeed()
Gets the current seed value for the pseudo random number generator.
|
java.awt.geom.Rectangle2D |
getTurbulenceRegion()
Gets the turbulence region
|
boolean |
isFractalNoise()
Returns true if the turbulence function is using fractal noise,
instead of turbulence noise.
|
boolean |
isStitched()
Returns true if the turbulence function is currently stitching tiles.
|
void |
setBaseFrequencyX(double xfreq)
Sets the base fequency in x direction.
|
void |
setBaseFrequencyY(double yfreq)
Sets the base fequency in y direction.
|
void |
setFractalNoise(boolean fractalNoise)
Turns on/off fractal noise.
|
void |
setNumOctaves(int numOctaves)
Sets the number of octaves for the noise function .
|
void |
setSeed(int seed)
Sets the seed value for the pseudo random number generator.
|
void |
setStitched(boolean stitched)
Sets stitching state for tiles.
|
void |
setTurbulenceRegion(java.awt.geom.Rectangle2D turbulenceRegion)
Sets the turbulence region
|
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
void setTurbulenceRegion(java.awt.geom.Rectangle2D turbulenceRegion)
turbulenceRegion
- region to fill with turbulence function.java.awt.geom.Rectangle2D getTurbulenceRegion()
int getSeed()
double getBaseFrequencyX()
double getBaseFrequencyY()
int getNumOctaves()
boolean isStitched()
boolean isFractalNoise()
void setSeed(int seed)
seed
- The new seed value for the pseudo random number generator.void setBaseFrequencyX(double xfreq)
xfreq
- The new base fequency in x direction.void setBaseFrequencyY(double yfreq)
yfreq
- The new base fequency in y direction.void setNumOctaves(int numOctaves)
numOctaves
- The new number of octaves for the noise function .void setStitched(boolean stitched)
stitched
- true if the turbulence operator should stitch tiles.void setFractalNoise(boolean fractalNoise)
fractalNoise
- true if fractal noise should be used.Copyright © 2022 Apache Software Foundation. All Rights Reserved.