GlyphInfo Struct
Definition
Represents a single glyph.
public struct GlyphInfo
Constructors
| Name | Description |
|---|---|
| GlyphInfo | Represents a single glyph. |
GlyphInfo Constructor
Represents a single glyph.
public GlyphInfo(ushort GlyphIndex, int GlyphCluster, double GlyphAdvance, Avalonia.Vector GlyphOffset)
Parameters
GlyphIndex ushort
GlyphCluster int
GlyphAdvance double
GlyphOffset Avalonia.Vector
Methods
| Name | Description |
|---|---|
| Deconstruct | No summary available. |
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Deconstruct Method
public void Deconstruct(ushort& GlyphIndex, int& GlyphCluster, double& GlyphAdvance, Avalonia.Vector& GlyphOffset)
Parameters
GlyphIndex ushort&
GlyphCluster int&
GlyphAdvance double&
GlyphOffset Avalonia.Vector&
Equals overloads
Equals Method
public bool Equals(Avalonia.Media.TextFormatting.GlyphInfo other)
Parameters
other Avalonia.Media.TextFormatting.GlyphInfo
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| GlyphAdvance | Get the glyph advance. |
| GlyphCluster | Get the glyph cluster. |
| GlyphIndex | Get the glyph index. |
| GlyphOffset | Get the glyph offset. |
GlyphAdvance Property
Get the glyph advance.
public double GlyphAdvance { get; set; }
GlyphCluster Property
Get the glyph cluster.
public int GlyphCluster { get; set; }
GlyphIndex Property
Get the glyph index.
public ushort GlyphIndex { get; set; }
GlyphOffset Property
Get the glyph offset.
public Avalonia.Vector GlyphOffset { get; set; }