com.mxgraph.util
Class mxCellRenderer
java.lang.Object
   com.mxgraph.util.mxCellRenderer
com.mxgraph.util.mxCellRenderer
- public class mxCellRenderer 
- extends Object
 
| Method Summary | 
| static BufferedImage | createBufferedImage(mxGraph graph,
                    Object[] cells,
                    double scale,
                    Color background,
                    boolean antiAlias,
                    mxRectangle clip)
 | 
| static BufferedImage | createBufferedImage(mxGraph graph,
                    Object[] cells,
                    double scale,
                    Color background,
                    boolean antiAlias,
                    mxRectangle clip,
                    mxGraphics2DCanvas graphicsCanvas)
 | 
| static Document | createHtmlDocument(mxGraph graph,
                   Object[] cells,
                   double scale,
                   Color background,
                   mxRectangle clip)
 | 
| static Document | createSvgDocument(mxGraph graph,
                  Object[] cells,
                  double scale,
                  Color background,
                  mxRectangle clip)
 | 
| static Document | createVmlDocument(mxGraph graph,
                  Object[] cells,
                  double scale,
                  Color background,
                  mxRectangle clip)
 | 
| static mxICanvas | drawCells(mxGraph graph,
          Object[] cells,
          double scale,
          mxRectangle clip,
          mxCellRenderer.CanvasFactory factory)Draws the given cells using a Graphics2D canvas and returns the buffered image
 that represents the cells.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
drawCells
public static mxICanvas drawCells(mxGraph graph,
                                  Object[] cells,
                                  double scale,
                                  mxRectangle clip,
                                  mxCellRenderer.CanvasFactory factory)
- Draws the given cells using a Graphics2D canvas and returns the buffered image
 that represents the cells.
 
- 
- Parameters:
- graph- Graph to be painted onto the canvas.
- Returns:
- Returns the image that represents the canvas.
 
createBufferedImage
public static BufferedImage createBufferedImage(mxGraph graph,
                                                Object[] cells,
                                                double scale,
                                                Color background,
                                                boolean antiAlias,
                                                mxRectangle clip)
- 
 
createBufferedImage
public static BufferedImage createBufferedImage(mxGraph graph,
                                                Object[] cells,
                                                double scale,
                                                Color background,
                                                boolean antiAlias,
                                                mxRectangle clip,
                                                mxGraphics2DCanvas graphicsCanvas)
- 
 
createHtmlDocument
public static Document createHtmlDocument(mxGraph graph,
                                          Object[] cells,
                                          double scale,
                                          Color background,
                                          mxRectangle clip)
- 
 
createSvgDocument
public static Document createSvgDocument(mxGraph graph,
                                         Object[] cells,
                                         double scale,
                                         Color background,
                                         mxRectangle clip)
- 
 
createVmlDocument
public static Document createVmlDocument(mxGraph graph,
                                         Object[] cells,
                                         double scale,
                                         Color background,
                                         mxRectangle clip)
- 
 
Copyright (c) 2010 Gaudenz Alder. All rights reserved.