According to MSDN, System.Drawing.Graphics
has a property named CompositingMode
which can be either SourceOver
or SourceCopy
.
The default one is SourceOver
, which
Specifies that when a color is rendered, it is blended with the background color. The blend is determined by the alpha component of the color being rendered.
As I have tested, the blend strategy used here is alpha composition, which determines the pixel value in the area image A over image B by the following equation:
Here αa and αb are the normalized alpha value of image A and image B; Ca and Cb are the RGBA values of image A and image B; Co is the RGBA value of the output image.