Summary
Draws text.
- Namespace
- Avalonia
.Platform - Containing Type
- IDrawingContextImpl
Syntax
void DrawText(IBrush foreground, Point origin, IFormattedTextImpl text)
Parameters
Name | Type | Description |
---|---|---|
foreground | IBrush | The foreground brush. |
origin | Point | The upper-left corner of the text. |
text | IFormattedTextImpl | The text. |
Return Value
Type | Description |
---|---|
void |