DekGenius.com
[ Team LiB ] Previous Section Next Section

CompositingModeserializable

System.Drawing.Drawing2D (system.drawing.dll)enum

This enumeration is used with the System.Drawing.Graphics.CompositingMode property to determine how alpha-blended colors are merged while drawing. SourceCopy effectively disables alpha blending while drawing into the bitmap, writing whatever color is specified (including its alpha value) directly into the bitmap. SourceOver reenables alpha blending, causing colors to be merged as they are drawn.

public enum CompositingMode {
   SourceOver = 0,
   SourceCopy = 1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable, System.IConvertible) CompositingMode

Returned By

System.Drawing.Graphics.CompositingMode

Passed To

System.Drawing.Graphics.CompositingMode

    [ Team LiB ] Previous Section Next Section