FigureRenderer

Inheritance: java.lang.Object

public abstract class FigureRenderer

Implements rendering of some LaTeX compact content (supposed to fit one page) and then cropping it from the page.

Constructors

ConstructorDescription
FigureRenderer()Creates a new instance.

Methods

MethodDescription
render(String latexBody, OutputStream stream, FigureRendererOptions figureRendererOptions, Size2D size)Renders a math formula.

FigureRenderer()

public FigureRenderer()

Creates a new instance.

render(String latexBody, OutputStream stream, FigureRendererOptions figureRendererOptions, Size2D size)

public void render(String latexBody, OutputStream stream, FigureRendererOptions figureRendererOptions, Size2D size)

Renders a math formula.

Parameters:

ParameterTypeDescription
latexBodyjava.lang.StringThe LaTeX file body.
streamjava.io.OutputStreamThe stream to write the output to.
figureRendererOptionsFigureRendererOptionsThe rendering options.
sizeSize2DThe output image size.