Aracılığıyla paylaş


ICanvas.DrawImage(IImage, Single, Single, Single, Single) Yöntem

Tanım

Tuvale bir resim çizer.

public:
 void DrawImage(Microsoft::Maui::Graphics::IImage ^ image, float x, float y, float width, float height);
public void DrawImage (Microsoft.Maui.Graphics.IImage image, float x, float y, float width, float height);
abstract member DrawImage : Microsoft.Maui.Graphics.IImage * single * single * single * single -> unit
Public Sub DrawImage (image As IImage, x As Single, y As Single, width As Single, height As Single)

Parametreler

image
IImage

Görüntülenecek resim

x
Single

Sol üst köşe x koordinatı.

y
Single

Sol üst köşe y koordinatı.

width
Single

Görüntünün genişliği.

height
Single

Görüntünün yüksekliği.

Şunlara uygulanır