ICanvas.DrawText(IAttributedText, Single, Single, Single, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Draws attributed text within a bounding box onto the canvas.
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)
Parameters
- value
- IAttributedText
Attributed text to be displayed.
- x
- Single
Starting x
coordinate of the bounding box.
- y
- Single
Starting y
coordinate of the bounding box.
- width
- Single
Width of the bounding box.
- height
- Single
Height of the bounding box.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.