[]
Applies the algorithms of Porter Duff compositing and blending to the current bitmap (used as backdrop, destination) and the source bitmap.
public void CompositeAndBlend(GcBitmap srcBitmap, int xDst, int yDst, CompositeMode compositeMode, BlendMode blendMode = BlendMode.Normal, Rectangle? clipRect = null, int width = 2147483647, int height = 2147483647, int xSrc = 0, int ySrc = 0)
| Type | Name | Description |
|---|---|---|
| GcBitmap | srcBitmap | The source bitmap. |
| int | xDst | The x-coordinate, in pixels, of the upper-left corner of the destination rectangle. |
| int | yDst | The y-coordinate, in pixels, of the upper-left corner of the destination rectangle. |
| CompositeMode | compositeMode | The Porter Duff compositing method. |
| BlendMode | blendMode | The blending method used to mix the source and destination colors. |
| Rectangle? | clipRect | The affected rectangle of the destination GcBitmap. |
| int | width | The width, in pixels, of the source and destination rectangles. |
| int | height | The height, in pixels, of the source and destination rectangles. |
| int | xSrc | The x-coordinate, in pixels, of the upper-left corner of the source rectangle. |
| int | ySrc | The y-coordinate, in pixels, of the upper-left corner of the source rectangle. |