Skip to main content

GlyphRun(IGlyphTypeface, Double, ReadOnlyMemory<Char>, IReadOnlyList<GlyphInfo>, Nullable<Point>, Int32) Constructor

Initializes a new instance of the GlyphRun class by specifying properties of the class.

Definition

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

public GlyphRun(
IGlyphTypeface glyphTypeface,
double fontRenderingEmSize,
ReadOnlyMemory<char> characters,
IReadOnlyList<GlyphInfo> glyphInfos,
Point? baselineOrigin = null,
int biDiLevel = 0
)

Parameters

  IGlyphTypeface
The glyph typeface.
  Double
The rendering em size.
  ReadOnlyMemory(Char)
The characters.
  IReadOnlyList(GlyphInfo)
The list of glyphs used.
  Nullable(Point)  (Optional)
The baseline origin of the run.
  Int32  (Optional)
The bidi level.

See Also

Reference

GlyphRun Class
GlyphRun Overload
Avalonia.Media Namespace