Skip to main content

Draw Method

Draws the text layout.

Definition​

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

public void Draw(
DrawingContext context,
Point origin
)

Parameters​

  DrawingContext
The drawing context.
  Point
The origin.

See Also​

Reference​

TextLayout Class
Avalonia.Media.TextFormatting Namespace