次の方法で共有


ICanvas.DrawImage(IImage, Single, Single, Single, Single) メソッド

定義

キャンバスにイメージを描画します。

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)

パラメーター

image
IImage

表示する画像

x
Single

左上隅 x の座標。

y
Single

左上隅 y の座標。

width
Single

画像の幅です。

height
Single

画像の高さです。

適用対象