Enum AlphaCompositeOperations
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Porter-Duff operations for AlphaComposite(InputArray, InputArray, OutputArray, AlphaCompositeOperations, bool).
[SuppressMessage("Microsoft.Design", "CA1717: Only FlagsAttribute enums should have plural names")]
public enum AlphaCompositeOperations
Fields
Atop = 9Draws the overlay over the background, clipped to the background alpha.
Clear = 0Clears both images.
Dest = 2Keeps the background only.
DestAtop = 10Draws the background over the overlay, clipped to the overlay alpha.
DestIn = 6Keeps the background weighted by the overlay alpha.
DestOut = 8Keeps the background weighted by the inverse overlay alpha.
DestOver = 4Draws the background over the overlay.
In = 5Keeps the overlay weighted by the background alpha.
Out = 7Keeps the overlay weighted by the inverse background alpha.
Over = 3Draws the overlay over the background.
Plus = 12Adds the premultiplied colors and alphas with saturation.
Source = 1Keeps the overlay only.
Xor = 11Keeps the nonoverlapping parts of both images.