Language

View.SetBackdropRenderEffect(RenderEffect) Method

Definition

Configure the RenderEffect to apply to the backdrop contents of this View.

[Android.Runtime.Register("setBackdropRenderEffect", "(Landroid/graphics/RenderEffect;)V", "GetSetBackdropRenderEffect_Landroid_graphics_RenderEffect_Handler", ApiSince=37)]
public virtual void SetBackdropRenderEffect(Android.Graphics.RenderEffect? renderEffect);
[<Android.Runtime.Register("setBackdropRenderEffect", "(Landroid/graphics/RenderEffect;)V", "GetSetBackdropRenderEffect_Landroid_graphics_RenderEffect_Handler", ApiSince=37)>]
abstract member SetBackdropRenderEffect : Android.Graphics.RenderEffect -> unit
override this.SetBackdropRenderEffect : Android.Graphics.RenderEffect -> unit

Parameters

renderEffect
RenderEffect

to be applied to the View. Passing null clears the previously configured RenderEffect

Attributes

Remarks

Configure the RenderEffect to apply to the backdrop contents of this View. This will apply a visual effect to the result of the backdrop contents of this View before it is drawn. For example if RenderEffect.createBlurEffect(float,float,RenderEffect,Shader.TileMode) is provided, the previous content behind this View will be blurred before this View is drawn.

Android reference for android.view.View.setBackdropRenderEffect.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to