Added in API level 1

BlurMaskFilter


open class BlurMaskFilter : MaskFilter
kotlin.Any
   ↳ android.graphics.MaskFilter
   ↳ android.graphics.BlurMaskFilter

This takes a mask, and blurs its edge by the specified radius. Whether or or not to include the original mask, and whether the blur goes outside, inside, or straddles, the original mask's border, is controlled by the Blur enum.

Summary

Nested classes

Public constructors

Create a blur maskfilter.

Inherited functions

Public constructors

BlurMaskFilter

Added in API level 1
BlurMaskFilter(
    radius: Float,
    style: BlurMaskFilter.Blur!)

Create a blur maskfilter.

Parameters
radius Float: The radius to extend the blur from the original mask. Must be > 0.
style BlurMaskFilter.Blur!: The Blur to use
Return
The new blur maskfilter