BlendImage Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
'Declaration
Public Sub BlendImage ( _
source As Bitmap, _
destinationX As Integer, _
destinationY As Integer, _
sourceX As Integer, _
sourceY As Integer, _
sourceWidth As Integer, _
sourceHeight As Integer, _
opacity As UShort _
)
public void BlendImage(
Bitmap source,
int destinationX,
int destinationY,
int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
ushort opacity
)
public:
void BlendImage(
Bitmap^ source,
int destinationX,
int destinationY,
int sourceX,
int sourceY,
int sourceWidth,
int sourceHeight,
unsigned short opacity
)
member BlendImage :
source:Bitmap *
destinationX:int *
destinationY:int *
sourceX:int *
sourceY:int *
sourceWidth:int *
sourceHeight:int *
opacity:uint16 -> unit
public function BlendImage(
source : Bitmap,
destinationX : int,
destinationY : int,
sourceX : int,
sourceY : int,
sourceWidth : int,
sourceHeight : int,
opacity : ushort
)
Parameters
- source
Type: Microsoft.SPOT. . :: . .Bitmap
A Bitmap object that specifies the bitmapped image.
- destinationX
Type: System. . :: . .Int32
The upper-left horizontal position at which the overlayed image is to be displayed.
- destinationY
Type: System. . :: . .Int32
The upper-left vertical position at which the overlayed image is to be displayed.
- sourceX
Type: System. . :: . .Int32
The upper-left horizontal position of the existing image.
- sourceY
Type: System. . :: . .Int32
The upper-left vertical position of the existing image.
- sourceWidth
Type: System. . :: . .Int32
The width of the existing image.
- sourceHeight
Type: System. . :: . .Int32
The height of the existing image.
- opacity
Type: System. . :: . .UInt16
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.