DrawingContext.

DrawText(IBrush, Point, FormattedText) Method

Summary

Draws text.
Namespace
Avalonia.Media
Containing Type
DrawingContext

Syntax

public void DrawText(IBrush foreground, Point origin, FormattedText text)

Parameters

Name Type Description
foreground IBrush The foreground brush.
origin Point The upper-left corner of the text.
text FormattedText The text.

Return Value

Type Description
void