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)Renders some LaTeX code.

FigureRenderer()

public FigureRenderer()

Creates a new instance.

render(String latexBody, OutputStream stream, FigureRendererOptions figureRendererOptions)

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

Renders some LaTeX code.

Parameters:

ParameterTypeDescription
latexBodyjava.lang.StringThe LaTeX fragment.
streamjava.io.OutputStreamThe stream to write the output to.
figureRendererOptionsFigureRendererOptionsThe rendering options.

Returns: Size2D - The output image size.