API documentation of the 'jhplot.HLatexEq' Java class
HLatexEq
jhplot

Class HLatexEq

HLatexEq
jhplot

Class HLatexEq



  • public class HLatexEqextends Object
    Create a PNG image of an equation using the Latex syntax.
    • Constructor Detail

      • HLatexEq

        public HLatexEq(String latex,                int size,                Color foreground,                Color background)
        Create image with the latex equiation.
        Parameters:
        latex - Latex equation
        size - font size
        foreground - foreground color
        background - background color
      • HLatexEq

        public HLatexEq(String latex,                int size)
        Create image with the latex equiation. Uses the white background.
        Parameters:
        latex - Latex equation
        size - font size
      • HLatexEq

        public HLatexEq(String latex)
        Create image with the latex equiation. Uses the white background and the default size 20.
        Parameters:
        latex - Latex equation
    • Method Detail

      • getEquation

        public TeXFormula getEquation()
        Get equation.
        Returns:
        current equation.
      • getIcon

        public TeXIcon getIcon()
        Get the icon.
        Returns:
        icon Current icon.
      • export

        public void export(String filename)
        Export the image into PNG file.
        Parameters:
        filename - output file name (with the extension png).
      • export

        public void export()
        Export the image into PNG file with the name "equition.png".
      • doc

        public void doc()
        Show online documentation.

DMelt 2.0 © DataMelt by jWork.ORG