Search
IGraphics.DrawImage Method (IImage, Rect, ImageAlign, Double, Point)
See Also
 





Draws the image represented by the specified IImage object at the specified location, with the specified alignment and rotation.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawImage (
    IImage image,
    Rect rect,
    ImageAlign imageAlign,
    double rotationAngle,
    Point pivot
)

Visual Basic  Copy Code

Sub DrawImage( _
    image As IImage, _
    rect As Rect, _
    imageAlign As ImageAlign, _
    rotationAngle As Double, _
    pivot As Point _
)

 Parameters

image

A Microsoft.Maui.Graphics.IImage representing the image to draw.

rect

A Microsoft.Maui.Graphics.Rect that specifies the location and size of the drawn image.

imageAlign

The alignment of the image within the specified rectangle.

rotationAngle

The rotation angle of the drawn image.

pivot

The pivot of the rotation.

 See Also