Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / AlphaBlend Method
The source bitmap.
The x-coordinate, in pixels, of the upper-left corner of the destination rectangle.
The y-coordinate, in pixels, of the upper-left corner of the destination rectangle.
The affected rectangle of the destination GcBitmap.
The opacity [0, 1] of the source bitmap, to multiply to the source bitmap's alpha channel.
The width, in pixels, of the source and destination rectangles.
The height, in pixels, of the source and destination rectangles.
The x-coordinate, in pixels, of the upper-left corner of the source rectangle.
The y-coordinate, in pixels, of the upper-left corner of the source rectangle.

In This Topic
    AlphaBlend Method
    In This Topic
    Draws the source bitmap with the specified opacity into the current bitmap.
    Syntax
    'Declaration
     
    Public Sub AlphaBlend( _
       ByVal srcBitmap As GcBitmap, _
       ByVal xDst As System.Integer, _
       ByVal yDst As System.Integer, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle), _
       Optional ByVal opacity As System.Single, _
       Optional ByVal width As System.Integer, _
       Optional ByVal height As System.Integer, _
       Optional ByVal xSrc As System.Integer, _
       Optional ByVal ySrc As System.Integer _
    ) 
    public void AlphaBlend( 
       GcBitmap srcBitmap,
       System.int xDst,
       System.int yDst,
       System.Nullable<Rectangle> clipRect,
       System.float opacity,
       System.int width,
       System.int height,
       System.int xSrc,
       System.int ySrc
    )

    Parameters

    srcBitmap
    The source bitmap.
    xDst
    The x-coordinate, in pixels, of the upper-left corner of the destination rectangle.
    yDst
    The y-coordinate, in pixels, of the upper-left corner of the destination rectangle.
    clipRect
    The affected rectangle of the destination GcBitmap.
    opacity
    The opacity [0, 1] of the source bitmap, to multiply to the source bitmap's alpha channel.
    width
    The width, in pixels, of the source and destination rectangles.
    height
    The height, in pixels, of the source and destination rectangles.
    xSrc
    The x-coordinate, in pixels, of the upper-left corner of the source rectangle.
    ySrc
    The y-coordinate, in pixels, of the upper-left corner of the source rectangle.
    See Also