public class Graphics2DImagePainterMathML extends Object implements org.apache.xmlgraphics.java2d.Graphics2DImagePainter
| Constructor and Description |
|---|
Graphics2DImagePainterMathML(JEuclidView theView,
Dimension dim,
float asc)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.xmlgraphics.java2d.Graphics2DImagePainter |
createGraphics2DImagePainter(Document document)
Create a new
Graphics2DImagePainter for the given Document. |
Dimension |
getImageSize() |
void |
paint(Graphics2D graphics2d,
Rectangle2D rectangle2d) |
public Graphics2DImagePainterMathML(JEuclidView theView, Dimension dim, float asc)
theView - JEuclidView to paint.dim - Dimension of the view.asc - Ascent of the view.public static org.apache.xmlgraphics.java2d.Graphics2DImagePainter createGraphics2DImagePainter(Document document)
Graphics2DImagePainter for the given Document.document - A MathML DOM Document.Graphics2DImagePainter.public Dimension getImageSize()
getImageSize in interface org.apache.xmlgraphics.java2d.Graphics2DImagePainterpublic void paint(Graphics2D graphics2d, Rectangle2D rectangle2d)
paint in interface org.apache.xmlgraphics.java2d.Graphics2DImagePainterCopyright © 2002–2019 The JEuclid project. All rights reserved.