to top
Android APIs
public class


extends MaskFilter

Class Overview

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.


Nested Classes
enum BlurMaskFilter.Blur  
Public Constructors
BlurMaskFilter(float radius, BlurMaskFilter.Blur style)
Create a blur maskfilter.
Inherited Methods
From class
From class java.lang.Object

Public Constructors

public BlurMaskFilter (float radius, BlurMaskFilter.Blur style)

Since: API Level 1

Create a blur maskfilter.

radius The radius to extend the blur from the original mask. Must be > 0.
style The Blur to use
  • The new blur maskfilter