Skip to main content

DrawText Method

Draws text.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public virtual void DrawText(
FormattedText text,
Point origin
)

Parameters

  FormattedText
The text.
  Point
The upper-left corner of the text.

See Also

Reference

DrawingContext Class
Avalonia.Media Namespace