GlyphInfo Constructor
Represents a single glyph.
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public GlyphInfo(
ushort GlyphIndex,
int GlyphCluster,
double GlyphAdvance,
Vector GlyphOffset = default
)
Public Sub New (
GlyphIndex As UShort,
GlyphCluster As Integer,
GlyphAdvance As Double,
Optional GlyphOffset As Vector = Nothing
)
new :
GlyphIndex : uint16 *
GlyphCluster : int *
GlyphAdvance : float *
?GlyphOffset : Vector
(* Defaults:
let _GlyphOffset = defaultArg GlyphOffset new Vector()
*)
-> GlyphInfo