Aracılığıyla paylaş


ICanvas.DrawText(IAttributedText, Single, Single, Single, Single) Yöntem

Tanım

Bir sınırlayıcı kutunun içinde tuvale öznitelikli metin çizer.

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

Parametreler

value
IAttributedText

Görüntülenecek öznitelikli metin.

x
Single

Sınırlayıcı kutunun başlangıç x koordinatı.

y
Single

Sınırlayıcı kutunun başlangıç y koordinatı.

width
Single

Sınırlayıcı kutunun genişliği.

height
Single

Sınırlayıcı kutunun yüksekliği.

Şunlara uygulanır