In This Topic
Draws the source bitmap with the specified opacity into the current bitmap.
Syntax
'Declaration
Public Sub AlphaBlend( _
ByVal As GcBitmap, _
ByVal As System.Integer, _
ByVal As System.Integer, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Single, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void AlphaBlend(
GcBitmap ,
System.int ,
System.int ,
System.Nullable<Rectangle> ,
System.float ,
System.int ,
System.int ,
System.int ,
System.int
)
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