ICanvas.DrawText(IAttributedText, Single, Single, Single, Single) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Dessine le texte attribué dans une zone englobante sur le canevas.
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)
Paramètres
- value
- IAttributedText
Texte attribué à afficher.
- x
- Single
Coordonnée de départ x du cadre englobant.
- y
- Single
Coordonnée de départ y du cadre englobant.
- width
- Single
Largeur du cadre englobant.
- height
- Single
Hauteur du cadre englobant.