Share via


RotateImage Method

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

Rotates the image.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub RotateImage ( _
    angle As Integer, _
    destinationX As Integer, _
    destinationY As Integer, _
    bitmap As Bitmap, _
    sourceX As Integer, _
    sourceY As Integer, _
    sourceWidth As Integer, _
    sourceHeight As Integer, _
    opacity As UShort _
)
public void RotateImage(
    int angle,
    int destinationX,
    int destinationY,
    Bitmap bitmap,
    int sourceX,
    int sourceY,
    int sourceWidth,
    int sourceHeight,
    ushort opacity
)
public:
void RotateImage(
    int angle, 
    int destinationX, 
    int destinationY, 
    Bitmap^ bitmap, 
    int sourceX, 
    int sourceY, 
    int sourceWidth, 
    int sourceHeight, 
    unsigned short opacity
)
member RotateImage : 
        angle:int * 
        destinationX:int * 
        destinationY:int * 
        bitmap:Bitmap * 
        sourceX:int * 
        sourceY:int * 
        sourceWidth:int * 
        sourceHeight:int * 
        opacity:uint16 -> unit 
public function RotateImage(
    angle : int, 
    destinationX : int, 
    destinationY : int, 
    bitmap : Bitmap, 
    sourceX : int, 
    sourceY : int, 
    sourceWidth : int, 
    sourceHeight : int, 
    opacity : ushort
)

Parameters

  • destinationX
    Type: System. . :: . .Int32
    The x-coordinate ___location of the upper-left corner of the rectangular area on the display to rotate the image.
  • destinationY
    Type: System. . :: . .Int32
    The y-coordinate ___location of the upper-left corner of the rectangular area on the display to rotate the image.
  • sourceX
    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.
  • sourceY
    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.

.NET Framework Security

See Also

Reference

DrawingContext Class

Microsoft.SPOT.Presentation.Media Namespace