Package org.scilab.forge.jlatexmath
Class Glue
- java.lang.Object
-
- org.scilab.forge.jlatexmath.Glue
-
public class Glue extends java.lang.Object
Represents glue by its 3 components. Contains the "glue rules".
-
-
Constructor Summary
Constructors Constructor Description Glue(float space, float stretch, float shrink, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.java.lang.String
getName()
Name of this glue object.
-
-
-
Method Detail
-
getName
public java.lang.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 typerType
- right atom typeenv
- the TeXEnvironment- Returns:
- a box containing representing the glue
-
-