Most visited

Recently visited

Added in API level 1

BlurMaskFilter

public class BlurMaskFilter
extends MaskFilter

java.lang.Object
   ↳ android.graphics.MaskFilter
     ↳ android.graphics.BlurMaskFilter


这需要一个蒙版,并以指定的半径模糊其边缘。 无论是否包含原始蒙版,以及模糊是否超出原始蒙版边界的内部或跨距,都由模糊枚举控制。

Summary

Nested classes

枚举 BlurMaskFilter.Blur

 

Public constructors

BlurMaskFilter(float radius, BlurMaskFilter.Blur style)

创建一个模糊maskfilter。

Inherited methods

From class android.graphics.MaskFilter
From class java.lang.Object

Public constructors

BlurMaskFilter

Added in API level 1
BlurMaskFilter (float radius, 
                BlurMaskFilter.Blur style)

创建一个模糊maskfilter。

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

Hooray!