Contains possible combine modes. They are used when the bitmap is drawn on window or blended with another bitmap.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Enumeration CombineMode
public enum CombineMode
Member name | Description | |
---|---|---|
Color |
Color combine mode. The result pixel is constructed in the following way: hue and saturation are taken from the source pixel, luminosity is taken from destination pixel. |
|
Copy |
Copy combine mode. Source pixel replaces destination one. Opacity setting is disregarded. |
|
Multiply |
Multiply combine mode. Source pixel is multiplied at the destination one and normalized to maximum luminosity value (255 for common pixel formats, and 65535 for extended ones). |
|
Add |
Add combine mode. Source and destination pixels are added. |
|
Screen |
Screen combine mode. Source pixel is inverted and multiplied at the destination one. After that this value is normalized to maximum luminosity value (255 for common pixel formats, and 65535 for extended ones). |
|
Invert |
Invert combine mode. Source pixel is inverted and blended with destination pixel in the same way as with Alpha mode. |
|
Saturation |
Saturation combine mode. The result pixel is constructed in the following way: saturation is taken from the source pixel, hue and luminosity are taken from destination pixel. |
|
Hue |
Hue combine mode. The result pixel is constructed in the following way: hue is taken from the source pixel, saturation and luminosity are taken from destination pixel. |
|
Texturize |
Texturize combine mode. Source pixel is converted into grayscale and blended with destination pixel in the same way as with Alpha mode. |
|
Alpha |
Alpha blending combine mode. Alpha blending is applied. Makes sense only if source has alpha channel. |
|
AlphaOverlay |
Alpha overlay combine mode allows blending multiple transparent images and supports image reordering without quality loss. |
|
AlphaOverlapped |
Alpha overlapped combine mode. The same as Alpha, however alpha channel is also modified (maximum between source and destination channel is taken). |
|
Overlay |
Overlay combine mode. Depending on destination pixel luminosity the Multiply (darkening) or Screen (lightening) is applied. This combine mode preserves highlights and shadows of the image. |
|
Behind |
Behind combine mode. Blends pixels only at transparent parts of destination bitmap. |
|
Luminosity |
Luminosity combine mode. The result pixel is constructed in the following way: luminosity is taken from the source pixel, saturation and hue are taken from destination pixel. |
|
Divide |
Divide combine mode. The result pixel is the destination pixel divided to source one. |
|
IfLighter |
"If Lighter" combine mode. The result pixel is a lightest between source and destination pixel. |
|
IfDarker |
"If Darker" combine mode. The result pixel is a darkest between source and destination pixel. |
|
Difference |
Difference combine mode. The result is a difference between destination and source pixels. |
|
Xor |
XOR combine mode. Bitwise XOR operation is applied for source and destination pixels. |
|
Or |
OR combine mode. Bitwise OR operation is applied for source and destination pixels. |
|
And |
AND combine mode. Bitwise AND operation is applied for source and destination pixels. |
|
Subtract |
Substract combine mode. Source and destination pixels are added and maximum luminosity value (255 for common pixel formats, and 65535 for extended ones) is subtracted. |