Class DelimiterFactory

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

public class DelimiterFactory extends Object
Responsible for creating a box containing a delimiter symbol that exists in different sizes.
  • Constructor Details

    • DelimiterFactory

      public DelimiterFactory()
  • Method Details

    • create

      public static Box create(SymbolAtom symbol, TeXEnvironment env, int size)
    • create

      public static Box create(String symbol, TeXEnvironment env, float minHeight)
      Parameters:
      symbol - the name of the delimiter symbol
      env - the TeXEnvironment in which to create the delimiter box
      minHeight - 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.