Language

BlendMode.DstIn Property

Definition

Keeps the destination pixels that cover source pixels, discards the remaining source and destination pixels.

[Android.Runtime.Register("DST_IN", ApiSince=29)]
public static Android.Graphics.BlendMode? DstIn { get; }
[<Android.Runtime.Register("DST_IN", ApiSince=29)>]
static member DstIn : Android.Graphics.BlendMode

Property Value

The operator that scales the destination by the source alpha.

Attributes

Remarks

Keeps the destination pixels that cover source pixels, discards the remaining source and destination pixels.

\(\alpha_{out} = \alpha_{src} * \alpha_{dst}\)

\(C_{out} = C_{dst} * \alpha_{src}\)

Android reference for android.graphics.BlendMode.DST_IN.

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