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
- angle
Type: System. . :: . .Int32
The angle to rotate the image.
- 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.
- bitmap
Type: Microsoft.SPOT. . :: . .Bitmap
The source bitmap.
- 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.
- width
Type: System. . :: . .Int32
The width of the rectangular block to rotate.
- height
Type: System. . :: . .Int32
The height of the rectangular block to rotate.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.