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() | |
Object | DrawLabel (string text, mxCellState state, bool html) |
see com.mxgraph.mxICanvas.DrawLabel() | |
Image | Destroy () |
Destroys this canvas and all allocated resources. | |
Protected Attributes | |
mxGdiCanvas | canvas |
Inner canvas used for the actual rendering. | |
Graphics | previousGraphics |
Stores the previous graphics reference of the inner canvas. | |
Image | image |
Stores the image that holds the graphics. | |
Properties | |
mxGdiCanvas | GdiCanvas [get] |
Returns the inner canvas. | |
Image | Image [get] |
Returns the image that hold the graphics. | |
Point | Translate [get, set] |
see com.mxgraph.mxICanvas.Translate | |
double | Scale [get, set] |
see com.mxgraph.mxICanvas.Translate |
Implements a canvas that draws onto an image.
com.mxgraph.mxImageCanvas.mxImageCanvas | ( | mxGdiCanvas | canvas, |
int | width, | ||
int | height, | ||
Color? | background, | ||
bool | antiAlias | ||
) | [inline] |
canvas | |
width | |
height | |
background | |
antiAlias |
Image com.mxgraph.mxImageCanvas.Destroy | ( | ) | [inline] |
Destroys this canvas and all allocated resources.
Object com.mxgraph.mxImageCanvas.DrawCell | ( | mxCellState | state | ) | [inline] |
see com.mxgraph.mxICanvas.DrawCell()
Implements com.mxgraph.mxICanvas.
Object com.mxgraph.mxImageCanvas.DrawLabel | ( | string | text, |
mxCellState | state, | ||
bool | html | ||
) | [inline] |
see com.mxgraph.mxICanvas.DrawLabel()
Implements com.mxgraph.mxICanvas.
mxGdiCanvas com.mxgraph.mxImageCanvas.canvas [protected] |
Inner canvas used for the actual rendering.
Image com.mxgraph.mxImageCanvas.image [protected] |
Stores the image that holds the graphics.
Graphics com.mxgraph.mxImageCanvas.previousGraphics [protected] |
Stores the previous graphics reference of the inner canvas.
Returns the inner canvas.
Returns the image that hold the graphics.
double com.mxgraph.mxImageCanvas.Scale [get, set] |
see com.mxgraph.mxICanvas.Translate
Implements com.mxgraph.mxICanvas.
Point com.mxgraph.mxImageCanvas.Translate [get, set] |
see com.mxgraph.mxICanvas.Translate
Implements com.mxgraph.mxICanvas.