BlurTransformation

fun BlurTransformation(context: Context, radius: Float = DEFAULT_RADIUS, sampling: Float = DEFAULT_SAMPLING)

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.