Class NoiseFactory
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.NoiseFactory
Factory for creating noise images.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
getNoiseImage
(RadianceColorScheme scheme, int width, int height, double xFactor, double yFactor, boolean hasConstantZ, boolean toBlur) Returns a noise image.
-
Constructor Details
-
NoiseFactory
public NoiseFactory()
-
-
Method Details
-
getNoiseImage
public static BufferedImage getNoiseImage(RadianceColorScheme scheme, int width, int height, double xFactor, double yFactor, boolean hasConstantZ, boolean toBlur) Returns a noise image.- Parameters:
scheme
- The color scheme 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.toBlur
- Indication whether the resulting image should be blurred.- Returns:
- Noise image.
-