RotateImage Method

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

Rotates an image.

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

Syntax

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

Parameters

  • xDst
    Type: System. . :: . .Int32
    The x-coordinate location of the upper-left corner of the rectangular area on the display to rotate the image.
  • yDst
    Type: System. . :: . .Int32
    The y-coordinate location of the upper-left corner of the rectangular area on the display to rotate the image.
  • xSrc
    Type: System. . :: . .Int32
    The x-coordinate location of the upper-left corner of the rectangular area in the source bitmap from which to rotate the image.
  • ySrc
    Type: System. . :: . .Int32
    The y-coordinate location of the upper-left corner of the rectangular area in the source bitmap from which to rotate the image.
  • opacity
    Type: System. . :: . .UInt16
    The degree of opacity of the bitmap. 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

Microsoft.SPOT Namespace