Class ForeignTextAtom

java.lang.Object
org.scilab.forge.jlatexmath.Atom
org.scilab.forge.jlatexmath.ForeignTextAtom
All Implemented Interfaces:
Cloneable

public class ForeignTextAtom extends Atom
Text that has no TeX glyph. It is measured by the TeXTextMeasurer of the environment (a rough estimate if there is none), and drawn by the canvas with TeXGraphics.drawText(String, double).
  • Constructor Details

    • ForeignTextAtom

      public ForeignTextAtom(String text)
  • Method Details

    • 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.