- Namespace
- Avalonia
.Media - Interfaces
-
- IDisposable
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IDisposable"]
Type["GlyphTypeface"]
class Type type-node
Syntax
public sealed class GlyphTypeface : IDisposable
Constructors
Name | Summary |
---|---|
GlyphTypeface |
|
GlyphTypeface |
Properties
Name | Value | Summary |
---|---|---|
Ascent | int |
Gets the recommended distance above the baseline in design em size.
|
Descent | int |
Gets the recommended distance under the baseline in design em size.
|
DesignEmHeight | short |
Gets the font design units per em.
|
IsFixedPitch | bool |
A
bool value indicating whether all glyphs in the font have the same advancement.
|
LineGap | int |
Gets the recommended additional space between two lines of text in design em size.
|
LineHeight | int |
Gets the recommended line height.
|
PlatformImpl | IGlyphTypefaceImpl | |
Strikethrough |
int |
Gets a value that indicates the distance of the strikethrough from the baseline in design em size.
|
Strikethrough |
int |
Gets a value that indicates the thickness of the underline in design em size.
|
UnderlinePosition | int |
Gets a value that indicates the distance of the underline from the baseline in design em size.
|
UnderlineThickness | int |
Gets a value that indicates the thickness of the underline in design em size.
|
Methods
Name | Value | Summary |
---|---|---|
GetGlyph |
ushort |
Returns an glyph index for the specified codepoint.
|
GetGlyphAdvance |
int |
Returns the glyph advance for the specified glyph.
|
GetGlyphAdvances |
int[] |
Returns an array of glyph advances in design em size.
|
GetGlyphs |
ushort[] |
Returns an array of glyph indices. Codepoints that are not represented by the font are returned as
.
|
TryGetGlyph |
bool |
Tries to get an glyph index for specified codepoint.
|