FigureRenderer
Contents
[
Hide
]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
Constructor | Description |
---|---|
FigureRenderer() | Creates a new instance. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
latexBody | java.lang.String | The LaTeX file body. |
stream | java.io.OutputStream | The stream to write the output to. |
figureRendererOptions | FigureRendererOptions | The rendering options. |
size | Size2D | The output image size. |