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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.