Class JavaFontRenderingAtom

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class JavaFontRenderingAtom
    extends Atom
    The string rendering is made in using Java Graphics2D.drawString.
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaFontRenderingAtom​(java.lang.String str, int type)  
      JavaFontRenderingAtom​(java.lang.String str, org.scilab.forge.jlatexmath.TeXFormula.FontInfos fontInfos)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Box createBox​(TeXEnvironment env)
      Convert this atom into a Box, using properties set by "parent" atoms, like the TeX style, the last used font, color settings, ...
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaFontRenderingAtom

        public JavaFontRenderingAtom​(java.lang.String str,
                                     int type)
      • JavaFontRenderingAtom

        public JavaFontRenderingAtom​(java.lang.String str,
                                     org.scilab.forge.jlatexmath.TeXFormula.FontInfos fontInfos)
    • Method Detail

      • createBox

        public Box createBox​(TeXEnvironment env)
        Description copied from class: Atom
        Convert this atom into a Box, using properties set by "parent" atoms, like the TeX style, the last used font, color settings, ...
        Specified by:
        createBox in class Atom
        Parameters:
        env - the current environment settings
        Returns:
        the resulting box.