Blit(WriteableBitmap,Point,WriteableBitmap,Rect,Color,BlendMode) Method
Copies (blits) the pixels from the WriteableBitmap source to the destination WriteableBitmap (this).
Syntax
[Extension()] public static void Blit( WriteableBitmap bmp, Point destPosition, WriteableBitmap source, Rect sourceRect, Color color, WriteableBitmapExtensions.BlendMode blendMode )
Parameters
- bmp
- The destination WriteableBitmap.
- destPosition
- The destination position in the destination bitmap.
- source
- The source WriteableBitmap.
- sourceRect
- The rectangle that will be copied from the source to the destination.
- color
- If not Colors.White, will tint the source image. A partially transparent color and the image will be drawn partially transparent.
- blendMode
- The blending mode WriteableBitmapExtensions.BlendMode.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also