In This Topic
Applies the algorithms of Porter Duff compositing and blending to the current bitmap (used as backdrop, destination) and the source bitmap.
Syntax
'Declaration
Public Sub CompositeAndBlend( _
ByVal As GcBitmap, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As CompositeMode, _
Optional ByVal As BlendMode, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void CompositeAndBlend(
GcBitmap ,
System.int ,
System.int ,
CompositeMode ,
BlendMode ,
System.Nullable<Rectangle> ,
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.
- compositeMode
- The Porter Duff compositing method.
- blendMode
- The blending method used to mix the source and destination colors.
- clipRect
- The affected rectangle of the destination GcBitmap.
- 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