com::mxgraph::mxICanvas Interface Reference

Defines the requirements for a canvas that paints the vertices and edges of a graph. More...

Inheritance diagram for com::mxgraph::mxICanvas:
com::mxgraph::mxBasicCanvas com::mxgraph::mxImageCanvas com::mxgraph::mxGdiCanvas

List of all members.

Public Member Functions

Object DrawCell (mxCellState state)
 Draws the given cell.
Object DrawLabel (string text, mxCellState state, bool html)
 Draws the given label.

Properties

Point Translate [get, set]
 Sets or returns the user object of the cell.
double Scale [get, set]
 Sets or returns the user object of the cell.

Detailed Description

Defines the requirements for a canvas that paints the vertices and edges of a graph.


Member Function Documentation

Object com::mxgraph::mxICanvas::DrawCell ( mxCellState  state  ) 

Draws the given cell.

Parameters:
state State of the cell to be painted.
Returns:
Object that represents the vertex.

Implemented in com::mxgraph::mxBasicCanvas, com::mxgraph::mxGdiCanvas, and com::mxgraph::mxImageCanvas.

Object com::mxgraph::mxICanvas::DrawLabel ( string  text,
mxCellState  state,
bool  html 
)

Draws the given label.

Parameters:
text String that represents the label.
state State of the cell whose label is to be painted.
html Specifies if the label contains HTML markup.
Returns:
Object that represents the label.

Implemented in com::mxgraph::mxBasicCanvas, com::mxgraph::mxGdiCanvas, and com::mxgraph::mxImageCanvas.


Property Documentation

double com::mxgraph::mxICanvas::Scale [get, set]

Sets or returns the user object of the cell.

Implemented in com::mxgraph::mxBasicCanvas, and com::mxgraph::mxImageCanvas.

Point com::mxgraph::mxICanvas::Translate [get, set]

Sets or returns the user object of the cell.

Implemented in com::mxgraph::mxBasicCanvas, and com::mxgraph::mxImageCanvas.


The documentation for this interface was generated from the following file:
Generated on Wed Jan 16 08:45:21 2013 for mxGraph by  doxygen 1.6.3