Skip to main content

CreateSymbol Method

Creates a shaped symbol.

Definition

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

public static ShapedTextRun CreateSymbol(
TextRun textRun,
FlowDirection flowDirection
)

Parameters

  TextRun
The symbol run to shape.
  FlowDirection
The flow direction.

Return Value

ShapedTextRun
The shaped symbol.

See Also

Reference

TextFormatter Class
Avalonia.Media.TextFormatting Namespace