Method GetVariants
GetVariants(ushort, bool)
Gets the size variants of a glyph in one direction, smallest first; the glyph itself is usually the first. Empty when the table has none.
public IReadOnlyList<MathGlyphVariant> GetVariants(ushort glyphId, bool vertical)
Parameters
glyphIdushortThe glyph.
verticalboolTrue for the variants that grow upwards; false for those that grow sideways.
Returns
- IReadOnlyList<MathGlyphVariant>
The variants.