org.jvnet.substance.painter.noise
public class NoiseFactory extends java.lang.Object
Constructor and Description |
---|
NoiseFactory() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
getNoiseImage(SubstanceSkin skin,
int width,
int height,
double xFactor,
double yFactor,
boolean hasConstantZ,
NoiseFilter noiseFilter,
boolean toBlur,
boolean isPreview)
Returns a noise image.
|
public static java.awt.image.BufferedImage getNoiseImage(SubstanceSkin skin, int width, int height, double xFactor, double yFactor, boolean hasConstantZ, NoiseFilter noiseFilter, boolean toBlur, boolean isPreview)
skin
- The skin to use for rendering the image.width
- Image width.height
- Image height.xFactor
- X stretch factor.yFactor
- Y stretch factor.hasConstantZ
- Indication whether the Z is constant.noiseFilter
- Noise filter to apply.toBlur
- Indication whether the resulting image should be blurred.isPreview
- Indication whether the image is in preview mode.