PeachDrawing.Core

PeachDrawing.Core.Font

Font.GetAdvanceEm(Rune) Method

The advance width of rune’s glyph as a fraction of the em, or null when this font has no glyph for it (or no metrics at all). Built from GetGlyphIndex(Rune)/ GetGlyphAdvanceWidthDesignUnits(int)/FontUnitsPerEm, so it needs no override of its own.

public System.Nullable<double> GetAdvanceEm(System.Text.Rune rune);

Parameters

rune System.Text.Rune

Returns

System.Nullable<System.Double>