Class Glue

java.lang.Object
org.scilab.forge.jlatexmath.Glue

public class Glue extends Object
Represents glue by its 3 components. Contains the "glue rules".
  • Constructor Summary

    Constructors
    Constructor
    Description
    Glue(float space, float stretch, float shrink, String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Box
    get(int lType, int rType, TeXEnvironment env)
    Creates a box representing the glue type according to the "glue rules" based on the atom types between which the glue must be inserted.
    Name of this glue object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Glue

      public Glue(float space, float stretch, float shrink, String name)
  • Method Details

    • getName

      public String getName()
      Name of this glue object.
    • get

      public static Box get(int lType, int rType, TeXEnvironment env)
      Creates a box representing the glue type according to the "glue rules" based on the atom types between which the glue must be inserted.
      Parameters:
      lType - left atom type
      rType - right atom type
      env - the TeXEnvironment
      Returns:
      a box containing representing the glue