renderScriptBlur

open fun renderScriptBlur(src: Bitmap, @FloatRange(from = 0, to = 25, fromInclusive = falseradius: Float): Bitmap

Return the blur bitmap using render script.

Return

the blur bitmap

Parameters

src

The source of bitmap.

radius

The radius(0...25).

open fun renderScriptBlur(src: Bitmap, @FloatRange(from = 0, to = 25, fromInclusive = falseradius: Float, recycle: Boolean): Bitmap

Return the blur bitmap using render script.

Return

the blur bitmap

Parameters

src

The source of bitmap.

radius

The radius(0...25).

recycle

True to recycle the source of bitmap, false otherwise.