GpCompositingMode enumeration
Selects how a drawn colour is combined with the colour already on the surface.
The setting is the CompositingMode property of Graphics. It matters only for colours that are not fully opaque.
Note
Text drawn with TextRenderingHintClearTypeGridFit cannot be combined with CompositingModeSourceCopy. This is a limit of GDI+.
| Member | Value | Description |
|---|---|---|
| CompositingModeSourceOver | 0 | The drawn colour is blended with the background according to its alpha value. |
| CompositingModeSourceCopy | 1 | The drawn colour replaces the background colour, alpha value included. |
Used by
- Graphics class: CompositingMode
See Also
- CompositingMode – Microsoft’s documentation of the GDI+ enumeration
- Enumerations – all the enumerations of the package
- Graphics class