Language

BlendMode.Exclusion Property

Definition

Subtracts darker from lighter with lower contrast.

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

Property Value

The operator with color result s + d - 2 * s * d and source-over alpha.

Attributes

Remarks

Subtracts darker from lighter with lower contrast.

\begin{equation} \alpha_{out} = \alpha_{src} + \alpha_{dst} - \alpha_{src} * \alpha_{dst} \end{equation}

\begin{equation} C_{out} = C_{src} + C_{dst} - 2 * C_{src} * C_{dst} \end{equation}

Android reference for android.graphics.BlendMode.EXCLUSION.

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