[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.AlphaBlend

AlphaBlend Method

AlphaBlend(DeviceContext, Rectangle, Rectangle)

Displays bitmaps that have transparent or semitransparent pixels.

Declaration
public virtual void AlphaBlend(DeviceContext deviceContext, Rectangle destRectangle, Rectangle srcRectangle)
Parameters
Type Name Description
DeviceContext deviceContext

The source DeviceContext object.

Rectangle destRectangle

A Rectangle indicates the destination rectangle.

Rectangle srcRectangle

A Rectangle indicates the source rectangle.

AlphaBlend(DeviceContext, Rectangle, Rectangle, byte)

Displays bitmaps with a constant transparent value.

Declaration
public virtual void AlphaBlend(DeviceContext deviceContext, Rectangle destRectangle, Rectangle srcRectangle, byte srcConstantAlpha)
Parameters
Type Name Description
DeviceContext deviceContext

The source DeviceContext object.

Rectangle destRectangle

A Rectangle indicates the destination rectangle.

Rectangle srcRectangle

A Rectangle indicates the source rectangle.

byte srcConstantAlpha

A byte indicates the constant alpha value of source.