[]
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)
Public Sub CompositeAndBlend(srcBitmap As GcBitmap, xDst As Integer, yDst As Integer, compositeMode As CompositeMode, Optional blendMode As BlendMode = BlendMode.Normal, Optional clipRect As Rectangle? = Nothing, Optional width As Integer = 2147483647, Optional height As Integer = 2147483647, Optional xSrc As Integer = 0, Optional ySrc As Integer = 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. |