public class mxCellRenderer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
mxCellRenderer.CanvasFactory |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
createBufferedImage(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
boolean antiAlias,
mxRectangle clip) |
static java.awt.image.BufferedImage |
createBufferedImage(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
boolean antiAlias,
mxRectangle clip,
mxGraphics2DCanvas graphicsCanvas) |
static org.w3c.dom.Document |
createHtmlDocument(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
mxRectangle clip) |
static org.w3c.dom.Document |
createSvgDocument(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
mxRectangle clip) |
static org.w3c.dom.Document |
createVmlDocument(mxGraph graph,
java.lang.Object[] cells,
double scale,
java.awt.Color background,
mxRectangle clip) |
static mxICanvas |
drawCells(mxGraph graph,
java.lang.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.
|
public static mxICanvas drawCells(mxGraph graph, java.lang.Object[] cells, double scale, mxRectangle clip, mxCellRenderer.CanvasFactory factory)
graph
- Graph to be painted onto the canvas.public static java.awt.image.BufferedImage createBufferedImage(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, boolean antiAlias, mxRectangle clip)
public static java.awt.image.BufferedImage createBufferedImage(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, boolean antiAlias, mxRectangle clip, mxGraphics2DCanvas graphicsCanvas)
public static org.w3c.dom.Document createHtmlDocument(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, mxRectangle clip)
public static org.w3c.dom.Document createSvgDocument(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, mxRectangle clip)
public static org.w3c.dom.Document createVmlDocument(mxGraph graph, java.lang.Object[] cells, double scale, java.awt.Color background, mxRectangle clip)
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.