Skip to Content
.NET Windows Forms in a Nutshell
book

.NET Windows Forms in a Nutshell

by Ian Griffiths, Matthew Adams
March 2003
Intermediate to advanced
896 pages
32h 35m
English
O'Reilly Media, Inc.
Content preview from .NET Windows Forms in a Nutshell

Name

CompositingMode

Synopsis

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Forms 2.0 Programming

Windows Forms 2.0 Programming

Chris Sells, Michael Weinhardt
Pro C# 7: With .NET and .NET Core

Pro C# 7: With .NET and .NET Core

Andrew Troelsen, Philip Japikse

Publisher Resources

ISBN: 0596003382Supplemental ContentCatalog PageErrata