Språk

RenderNode.SetBackdropRenderEffect(RenderEffect) Method

Definition

Configure the android.graphics.RenderEffect to apply to the backdrop contents of this RenderNode.

[Android.Runtime.Register("setBackdropRenderEffect", "(Landroid/graphics/RenderEffect;)Z", "", ApiSince=37)]
public bool SetBackdropRenderEffect(Android.Graphics.RenderEffect? renderEffect);
[<Android.Runtime.Register("setBackdropRenderEffect", "(Landroid/graphics/RenderEffect;)Z", "", ApiSince=37)>]
member this.SetBackdropRenderEffect : Android.Graphics.RenderEffect -> bool

Parameters

renderEffect
RenderEffect

to be applied to the backdrop contents of this RenderNode. Passing null clears all previously configured RenderEffects

Returns

True if the value changed, false if the new value was the same as the previous value.

Attributes

Remarks

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

Android reference for android.graphics.RenderNode.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