public static class BlurView.ControllerSettings
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
BlurView.ControllerSettings |
blurAlgorithm(BlurAlgorithm algorithm) |
BlurView.ControllerSettings |
blurRadius(float radius) |
BlurView.ControllerSettings |
windowBackground(android.graphics.drawable.Drawable windowBackground) |
public BlurView.ControllerSettings blurRadius(float radius)
radius - sets the blur radius
Default implementation uses field BlurController.DEFAULT_BLUR_RADIUSpublic BlurView.ControllerSettings blurAlgorithm(BlurAlgorithm algorithm)
algorithm - sets the blur algorithm
Default implementation uses NoOpBlurAlgorithmpublic BlurView.ControllerSettings windowBackground(@Nullable android.graphics.drawable.Drawable windowBackground)
windowBackground - sets the background to draw before view hierarchy.
Can be used to draw Activity's window background if your root layout doesn't provide any background