Compartilhar via


ICanvas.DrawImage(IImage, Single, Single, Single, Single) Método

Definição

Desenha uma imagem na tela.

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)

Parâmetros

image
IImage

Imagem a ser exibida

x
Single

Coordenada do canto x superior esquerdo.

y
Single

Coordenada do canto y superior esquerdo.

width
Single

Largura da imagem.

height
Single

Altura da imagem.

Aplica-se a