Language

BlendMode.SrcIn Property

Definition

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

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

Property Value

Attributes

Remarks

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

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

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

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