Language

BlendMode.DstOut Property

Definition

Keeps the destination pixels that are not covered by source pixels.

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

Property Value

The operator that scales the destination by one minus the source alpha.

Attributes

Remarks

Keeps the destination pixels that are not covered by source pixels. Discards destination pixels that are covered by source pixels. Discards all source pixels.

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

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

Android reference for android.graphics.BlendMode.DST_OUT.

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