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