Package net.sourceforge.plantuml.math
Class ScientificEquationSafe
- java.lang.Object
-
- net.sourceforge.plantuml.math.ScientificEquationSafe
-
public class ScientificEquationSafe extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageData
export(java.io.OutputStream os, FileFormatOption fileFormat, float scale, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
static ScientificEquationSafe
fromAsciiMath(java.lang.String formula)
static ScientificEquationSafe
fromLatex(java.lang.String formula)
java.lang.String
getFormula()
java.awt.image.BufferedImage
getImage(double scale, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
SvgString
getSvg(double scale, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
-
-
-
Method Detail
-
fromAsciiMath
public static ScientificEquationSafe fromAsciiMath(java.lang.String formula)
-
fromLatex
public static ScientificEquationSafe fromLatex(java.lang.String formula)
-
getSvg
public SvgString getSvg(double scale, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
-
getImage
public java.awt.image.BufferedImage getImage(double scale, java.awt.Color foregroundColor, java.awt.Color backgroundColor)
-
export
public ImageData export(java.io.OutputStream os, FileFormatOption fileFormat, float scale, java.awt.Color foregroundColor, java.awt.Color backgroundColor) throws java.io.IOException
- Throws:
java.io.IOException
-
getFormula
public final java.lang.String getFormula()
-
-