mxGraph
Public Member Functions | Protected Attributes | Properties
com.mxgraph.mxImageCanvas Class Reference

Implements a canvas that draws onto an image. More...

Inheritance diagram for com.mxgraph.mxImageCanvas:
com.mxgraph.mxICanvas

List of all members.

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

Detailed Description

Implements a canvas that draws onto an image.


Constructor & Destructor Documentation

com.mxgraph.mxImageCanvas.mxImageCanvas ( mxGdiCanvas  canvas,
int  width,
int  height,
Color?  background,
bool  antiAlias 
) [inline]
Parameters:
canvas
width
height
background
antiAlias

Member Function Documentation

Destroys this canvas and all allocated resources.

Object com.mxgraph.mxImageCanvas.DrawCell ( mxCellState  state) [inline]
Object com.mxgraph.mxImageCanvas.DrawLabel ( string  text,
mxCellState  state,
bool  html 
) [inline]

Member Data Documentation

Inner canvas used for the actual rendering.

Stores the image that holds the graphics.

Stores the previous graphics reference of the inner canvas.


Property Documentation

Returns the inner canvas.

Returns the image that hold the graphics.


The documentation for this class was generated from the following file: