Blur Transformation
class BlurTransformation @JvmOverloads() constructor(context: Context, radius: Float, sampling: Float) : Transformation
Content copied to clipboard
A Transformation that applies a Gaussian blur to an image.
Parameters
context
The Context used to create a RenderScript instance.
radius
The radius of the blur.
sampling
The sampling multiplier used to scale the image. Values 1 will downscale the image. Values between 0 and 1 will upscale the image.
Constructors
BlurTransformation
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
The Context used to create a RenderScript instance.