Class Graphics2DImagePainterMathML
- java.lang.Object
-
- net.sourceforge.jeuclid.xmlgraphics.Graphics2DImagePainterMathML
-
- All Implemented Interfaces:
org.apache.xmlgraphics.java2d.Graphics2DImagePainter
public class Graphics2DImagePainterMathML extends java.lang.Object implements org.apache.xmlgraphics.java2d.Graphics2DImagePainterActually draw an JEuclidView.- Version:
- $Revision: 32023847f457 $
-
-
Constructor Summary
Constructors Constructor Description Graphics2DImagePainterMathML(JEuclidView theView, java.awt.Dimension dim, float asc)Default Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.xmlgraphics.java2d.Graphics2DImagePaintercreateGraphics2DImagePainter(org.w3c.dom.Document document)Create a newGraphics2DImagePainterfor the given Document.java.awt.DimensiongetImageSize()voidpaint(java.awt.Graphics2D graphics2d, java.awt.geom.Rectangle2D rectangle2d)
-
-
-
Constructor Detail
-
Graphics2DImagePainterMathML
public Graphics2DImagePainterMathML(JEuclidView theView, java.awt.Dimension dim, float asc)
Default Constructor.- Parameters:
theView-JEuclidViewto paint.dim- Dimension of the view.asc- Ascent of the view.
-
-
Method Detail
-
createGraphics2DImagePainter
public static org.apache.xmlgraphics.java2d.Graphics2DImagePainter createGraphics2DImagePainter(org.w3c.dom.Document document)
Create a newGraphics2DImagePainterfor the given Document.- Parameters:
document- A MathML DOM Document.- Returns:
- a
Graphics2DImagePainter.
-
getImageSize
public java.awt.Dimension getImageSize()
- Specified by:
getImageSizein interfaceorg.apache.xmlgraphics.java2d.Graphics2DImagePainter
-
paint
public void paint(java.awt.Graphics2D graphics2d, java.awt.geom.Rectangle2D rectangle2d)- Specified by:
paintin interfaceorg.apache.xmlgraphics.java2d.Graphics2DImagePainter
-
-