Sdílet prostřednictvím


ICanvas.DrawText(IAttributedText, Single, Single, Single, Single) Metoda

Definice

Nakreslí přiřazený text v ohraničujícím rámečku na plátno.

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)

Parametry

value
IAttributedText

Zobrazený text s atributem

x
Single

Počáteční x souřadnice ohraničujícího rámečku

y
Single

Počáteční y souřadnice ohraničujícího rámečku

width
Single

Šířka ohraničujícího rámečku

height
Single

Výška ohraničujícího rámečku

Platí pro