Package org.scilab.forge.jlatexmath
Class DelimiterFactory
- java.lang.Object
-
- org.scilab.forge.jlatexmath.DelimiterFactory
-
public class DelimiterFactory extends java.lang.Object
Responsible for creating a box containing a delimiter symbol that exists in different sizes.
-
-
Constructor Summary
Constructors Constructor Description DelimiterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Box
create(java.lang.String symbol, TeXEnvironment env, float minHeight)
static Box
create(SymbolAtom symbol, TeXEnvironment env, int size)
-
-
-
Method Detail
-
create
public static Box create(SymbolAtom symbol, TeXEnvironment env, int size)
-
create
public static Box create(java.lang.String symbol, TeXEnvironment env, float minHeight)
- Parameters:
symbol
- the name of the delimiter symbolenv
- the TeXEnvironment in which to create the delimiter boxminHeight
- the minimum required total height of the box (height + depth).- Returns:
- the box representing the delimiter variant that fits best according to the required minimum size.
-
-