Interface MathMLGlyphElement

All Superinterfaces:
Element, MathMLElement, MathMLPresentationElement, Node
All Known Implementing Classes:
MathMLGlyphElementImpl

public interface MathMLGlyphElement extends MathMLPresentationElement
This interface provides support for the mglyph element, used to display non-standard symbols.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • getAlt

      String getAlt()
      Returns the alternative text for the glyph.
      Returns:
      the alternative text string.
    • setAlt

      void setAlt(String alt)
      Sets the alternative text for the glyph.
      Parameters:
      alt - the alternative text string to set.
    • getFontfamily

      String getFontfamily()
      Returns the font family from which the glyph should be taken.
      Returns:
      the font family string.
    • setFontfamily

      void setFontfamily(String fontfamily)
      Sets the font family from which the glyph should be taken.
      Parameters:
      fontfamily - the font family string to set.
    • getIndex

      int getIndex()
      Returns the index of the glyph within the specified font.
      Returns:
      the integer index of the glyph.
    • setIndex

      void setIndex(int index)
      Sets the index of the glyph within the specified font.
      Parameters:
      index - the integer index to set.