DrawingContext.BlendImage Method
Overlays a specified bitmapped image on an image that already exists on the drawing surface, and displays the resulting overlayed image at a specified location (position) on the drawing surface.
Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public void BlendImage (
Bitmapsource,
intdestinationX,
intdestinationY,
intsourceX,
intsourceY,
intsourceWidth,
intsourceHeight,
UInt16opacity
)
Parameters
- source
A Bitmap object that specifies the bitmapped image. - destinationX
The upper-left horizontal position at which the overlayed image is to be displayed. - destinationY
The upper-left vertical position at which the overlayed image is to be displayed. - sourceX
The upper-left horizontal position of the existing image. - sourceY
The upper-left vertical position of the existing image. - sourceWidth
The width of the existing image. - sourceHeight
The height of the existing image. - opacity
The opacity of the bitmapped image when overlayed on the existing image. A value of 0 (zero) makes the bitmap completely opaque (not transparent at all); a value of 255 makes the bitmap completely transparent.
Version Information
Available in .NET Micro Framework version 2.0, 2.5
See Also
Reference
DrawingContext Class
DrawingContext Members
Microsoft.SPOT.Presentation.Media Namespace