[]
        
(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)
Public Overridable Sub AlphaBlend(deviceContext As DeviceContext, destRectangle As Rectangle, srcRectangle As Rectangle)
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)
Public Overridable Sub AlphaBlend(deviceContext As DeviceContext, destRectangle As Rectangle, srcRectangle As Rectangle, srcConstantAlpha As Byte)
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.