Udostępnij za pośrednictwem


RenderEffect.CreateBlendModeEffect Method

Definition

Create a RenderEffect that is a composition of 2 other RenderEffect instances combined by the specified BlendMode

[Android.Runtime.Register("createBlendModeEffect", "(Landroid/graphics/RenderEffect;Landroid/graphics/RenderEffect;Landroid/graphics/BlendMode;)Landroid/graphics/RenderEffect;", "", ApiSince=31)]
public static Android.Graphics.RenderEffect CreateBlendModeEffect (Android.Graphics.RenderEffect dst, Android.Graphics.RenderEffect src, Android.Graphics.BlendMode blendMode);
[<Android.Runtime.Register("createBlendModeEffect", "(Landroid/graphics/RenderEffect;Landroid/graphics/RenderEffect;Landroid/graphics/BlendMode;)Landroid/graphics/RenderEffect;", "", ApiSince=31)>]
static member CreateBlendModeEffect : Android.Graphics.RenderEffect * Android.Graphics.RenderEffect * Android.Graphics.BlendMode -> Android.Graphics.RenderEffect

Parameters

dst
RenderEffect

The Dst pixels used in blending

src
RenderEffect

The Src pixels used in blending

blendMode
BlendMode

The BlendMode to be used to combine colors from the two RenderEffects

Returns

Attributes

Remarks

Create a RenderEffect that is a composition of 2 other RenderEffect instances combined by the specified BlendMode

Java documentation for android.graphics.RenderEffect.createBlendModeEffect(android.graphics.RenderEffect, android.graphics.RenderEffect, android.graphics.BlendMode).

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