GlyphRun.

GlyphRun(GlyphTypeface, double, ReadOnlySlice<ushort>, ReadOnlySlice<double>, ReadOnlySlice<Vector>, ReadOnlySlice<char>, ReadOnlySlice<ushort>, int) Constructor

Summary

Initializes a new instance of the GlyphRun class by specifying properties of the class.
Namespace
Avalonia.Media
Containing Type
GlyphRun

Syntax

public GlyphRun(GlyphTypeface glyphTypeface, double fontRenderingEmSize, ReadOnlySlice<ushort> glyphIndices, ReadOnlySlice<double> glyphAdvances = default(ReadOnlySlice<double>), ReadOnlySlice<Vector> glyphOffsets = default(ReadOnlySlice<Vector>), ReadOnlySlice<char> characters = default(ReadOnlySlice<char>), ReadOnlySlice<ushort> glyphClusters = default(ReadOnlySlice<ushort>), int biDiLevel = 0)

Parameters

Name Type Description
glyphTypeface GlyphTypeface The glyph typeface.
fontRenderingEmSize double The rendering em size.
glyphIndices ReadOnlySlice<ushort> The glyph indices.
glyphAdvances ReadOnlySlice<double> The glyph advances.
glyphOffsets ReadOnlySlice<Vector> The glyph offsets.
characters ReadOnlySlice<char> The characters.
glyphClusters ReadOnlySlice<ushort> The glyph clusters.
biDiLevel int The bidi level.

Return Value

Type Description
void