IGlyphTypeface Interface
Unstable.
Note: This API is unstable and may change in a future release.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[UnstableAttribute]
public interface IGlyphTypeface : IDisposable
<UnstableAttribute>
Public Interface IGlyphTypeface
Inherits IDisposable
[<UnstableAttribute>]
type IGlyphTypeface =
interface
interface IDisposable
end
| Implements | IDisposable |
Properties
| FamilyName | Gets the family name for the IGlyphTypeface object. |
| FontSimulations | Gets the algorithmic style simulations applied to this glyph typeface. |
| GlyphCount | Gets the number of glyphs held by this glyph typeface. |
| Metrics | Gets the font metrics. |
| Stretch | Gets the FontStretch value for the IGlyphTypeface object. |
| Style | Gets the style for the IGlyphTypeface object. |
| Weight | Gets the designed weight of the font represented by the IGlyphTypeface object. |
Methods
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
| GetGlyph(UInt32) | Returns an glyph index for the specified codepoint. |
| GetGlyphAdvance(UInt16) | Returns the glyph advance for the specified glyph. |
| GetGlyphAdvances(ReadOnlySpan(UInt16)) | Returns an array of glyph advances in design em size. |
| GetGlyphs(ReadOnlySpan(UInt32)) | Returns an array of glyph indices. Codepoints that are not represented by the font are returned as 0. |
| TryGetGlyph(UInt32, UInt16) | Tries to get an glyph index for specified codepoint. |
| TryGetGlyphMetrics(UInt16, GlyphMetrics) | Tries to get a glyph's metrics in em units. |
| TryGetTable(UInt32, Byte[]) | Returns the contents of the table data for the specified tag. |