mxGraph
|
Implements a canvas that draws onto an image. More...
Public Member Functions | |
mxImageCanvas (mxGdiCanvas canvas, int width, int height, Color? background, bool antiAlias) | |
Object | DrawCell (mxCellState state) |
see com.mxgraph.mxICanvas.DrawCell() More... | |
Object | DrawLabel (string text, mxCellState state, bool html) |
see com.mxgraph.mxICanvas.DrawLabel() More... | |
Image | Destroy () |
Destroys this canvas and all allocated resources. More... | |
Protected Attributes | |
mxGdiCanvas | canvas |
Inner canvas used for the actual rendering. More... | |
Graphics | previousGraphics |
Stores the previous graphics reference of the inner canvas. More... | |
Image | image |
Stores the image that holds the graphics. More... | |
Properties | |
mxGdiCanvas | GdiCanvas [get] |
Returns the inner canvas. More... | |
Image | Image [get] |
Returns the image that hold the graphics. More... | |
Point | Translate [get, set] |
see com.mxgraph.mxICanvas.Translate More... | |
double | Scale [get, set] |
see com.mxgraph.mxICanvas.Translate More... | |
Properties inherited from com.mxgraph.mxICanvas | |
Point | Translate [get, set] |
Sets or returns the user object of the cell. More... | |
double | Scale [get, set] |
Sets or returns the user object of the cell. More... | |
Implements a canvas that draws onto an image.
|
inline |
canvas | |
width | |
height | |
background | |
antiAlias |
References com.mxgraph.mxUtils.CreateImage(), and com.mxgraph.mxGdiCanvas.Graphics.
|
inline |
Destroys this canvas and all allocated resources.
References com.mxgraph.mxGdiCanvas.Graphics.
Referenced by com.mxgraph.mxCellRenderer.CreateImage().
|
inline |
see com.mxgraph.mxICanvas.DrawCell()
Implements com.mxgraph.mxICanvas.
References com.mxgraph.mxGdiCanvas.DrawCell().
|
inline |
see com.mxgraph.mxICanvas.DrawLabel()
Implements com.mxgraph.mxICanvas.
References com.mxgraph.mxGdiCanvas.DrawLabel().
|
protected |
Inner canvas used for the actual rendering.
|
protected |
Stores the image that holds the graphics.
|
protected |
Stores the previous graphics reference of the inner canvas.
|
get |
Returns the inner canvas.
|
get |
Returns the image that hold the graphics.
|
getset |
|
getset |
see com.mxgraph.mxICanvas.Translate
Referenced by com.mxgraph.mxGraphViewImageReader.CreateCanvas().