This documentation is archived and is not being maintained.

CompositingMode Enumeration

Specifies how the source colors are combined with the background colors.

[Visual Basic]
<Serializable>
Public Enum CompositingMode
[C#]
[Serializable]
public enum CompositingMode
[C++]
[Serializable]
__value public enum CompositingMode
[JScript]
public
   Serializable
enum CompositingMode

Members

Member name Description
SourceCopy Specifies that when a color is rendered, it overwrites the background color.
SourceOver 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.

Requirements

Namespace: System.Drawing.Drawing2D

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

System.Drawing.Drawing2D Namespace

Show: