StretchImage Method (Int32, Int32, Bitmap, Int32, Int32, UInt16)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Draws a rectangular block of pixels on the display device, stretching or shrinking the rectangular area as necessary.

Namespace:  Microsoft.SPOT
Assembly:  Microsoft.SPOT.Graphics (in Microsoft.SPOT.Graphics.dll)

Syntax

'Declaration
Public Sub StretchImage ( _
    xDst As Integer, _
    yDst As Integer, _
    bitmap As Bitmap, _
    width As Integer, _
    height As Integer, _
    opacity As UShort _
)
public void StretchImage(
    int xDst,
    int yDst,
    Bitmap bitmap,
    int width,
    int height,
    ushort opacity
)
public:
void StretchImage(
    int xDst, 
    int yDst, 
    Bitmap^ bitmap, 
    int width, 
    int height, 
    unsigned short opacity
)
member StretchImage : 
        xDst:int * 
        yDst:int * 
        bitmap:Bitmap * 
        width:int * 
        height:int * 
        opacity:uint16 -> unit 
public function StretchImage(
    xDst : int, 
    yDst : int, 
    bitmap : Bitmap, 
    width : int, 
    height : int, 
    opacity : ushort
)

Parameters

  • xDst
    Type: System. . :: . .Int32
    The x-coordinate of the upper-left corner of the rectangular area to which the pixels are to be copied.
  • yDst
    Type: System. . :: . .Int32
    The y-coordinate of the upper-left corner of the rectangular area to which the pixels are to be copied.
  • width
    Type: System. . :: . .Int32
    The width of the rectangluar area to which the pixels are to be copied.
  • height
    Type: System. . :: . .Int32
    The height of the rectangluar area to which the pixels are to be copied.
  • opacity
    Type: System. . :: . .UInt16
    The bitmap's degree of opacity. A value of 0 (zero) makes the bitmap completely opaque (not transparent at all); a value of 255 makes the bitmap completely transparent.

Remarks

The .NET Micro Framework provides the Microsoft.SPOT.Bitmap class for lower-level access, such as animation. For displaying static bitmaps and hyperlinked bitmaps, use the Image control.

.NET Framework Security

See Also

Reference

Bitmap Class

StretchImage Overload

Microsoft.SPOT Namespace