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 |
The glyph indices. |
glyphAdvances | ReadOnlySlice |
The glyph advances. |
glyphOffsets | ReadOnlySlice |
The glyph offsets. |
characters | ReadOnlySlice |
The characters. |
glyphClusters | ReadOnlySlice |
The glyph clusters. |
biDiLevel | int | The bidi level. |
Return Value
Type | Description |
---|---|
void |