GlyphRun(IGlyphTypeface, Double, ReadOnlyMemory<Char>, IReadOnlyList<UInt16>, 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)
- C#
- VB
- F#
public GlyphRun(
IGlyphTypeface glyphTypeface,
double fontRenderingEmSize,
ReadOnlyMemory<char> characters,
IReadOnlyList<ushort> glyphIndices,
Point? baselineOrigin = null,
int biDiLevel = 0
)
Public Sub New (
glyphTypeface As IGlyphTypeface,
fontRenderingEmSize As Double,
characters As ReadOnlyMemory(Of Char),
glyphIndices As IReadOnlyList(Of UShort),
Optional baselineOrigin As Point? = Nothing,
Optional biDiLevel As Integer = 0
)
new :
glyphTypeface : IGlyphTypeface *
fontRenderingEmSize : float *
characters : ReadOnlyMemory<char> *
glyphIndices : IReadOnlyList<uint16> *
?baselineOrigin : Nullable<Point> *
?biDiLevel : int
(* Defaults:
let _baselineOrigin = defaultArg baselineOrigin null
let _biDiLevel = defaultArg biDiLevel 0
*)
-> GlyphRun
Parameters
- IGlyphTypeface
- The glyph typeface.
- Double
- The rendering em size.
- ReadOnlyMemory(Char)
- The characters.
- IReadOnlyList(UInt16)
- The glyph indices.
- Nullable(Point) (Optional)
- The baseline origin of the run.
- Int32 (Optional)
- The bidi level.