BlendMode.Xor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Discards the source and destination pixels where source pixels cover destination pixels.
[Android.Runtime.Register("XOR", ApiSince=29)]
public static Android.Graphics.BlendMode? Xor { get; }
[<Android.Runtime.Register("XOR", ApiSince=29)>]
static member Xor : Android.Graphics.BlendMode
Property Value
- Attributes
Remarks
Discards the source and destination pixels where source pixels cover destination pixels. Draws remaining source pixels.
\(\alpha_{out} = (1 - \alpha_{dst}) * \alpha_{src} + (1 - \alpha_{src}) * \alpha_{dst}\)
\(C_{out} = (1 - \alpha_{dst}) * C_{src} + (1 - \alpha_{src}) * C_{dst}\)
Android reference for android.graphics.BlendMode.XOR.
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.